From the course: Visual Studio Code Productivity Tips
Unlock this course with a free trial
Join today to access over 24,000 courses taught by industry experts.
Fun with brackets and braces
From the course: Visual Studio Code Productivity Tips
Fun with brackets and braces
- [Instructor] In this video, let's look at some techniques that can help us work with code brackets. One big change that Microsoft added to Visual Studio Code a few years ago is colorized brackets, which can help us see which brackets are matched. In the past, we had to install an extension to get that feature. First, let's look at what is considered brackets. Curly braces, like is shown on line one, those are brackets. So are square braces or square brackets, and the parenthesis is considered a bracket. Here you can see on line nine, this expression consists of three sets of parentheses. I'll talk about colorized. You can see on line nine that each brace has a different color. There's brown, and then blue, and then green. And then, when I click next to one of these, I also get a rectangle with a background color. In this case, on my theme, it's a green-gray color. Depending on which theme you have installed and you're using in Visual Studio, there can be more contrast with these…
Contents
-
-
-
Explore and navigate code: Go to Definition3m 24s
-
(Locked)
Explore and navigate code: Find All References2m 21s
-
(Locked)
Explore and navigate code: Peek Definition1m 26s
-
(Locked)
Refactor the code5m
-
(Locked)
Tidy up code layout with Format Document4m 18s
-
(Locked)
Create custom keybindings for commands2m 18s
-
(Locked)
Fun with brackets and braces2m 49s
-
(Locked)
Simple technique to move code blocks52s
-
(Locked)
Use Emmet notation to quickly add boilerplate text8m 19s
-
(Locked)
Use font ligatures to add symbols to your code3m 31s
-
(Locked)
Better document tabs5m 10s
-
(Locked)
Declutter the UI2m 16s
-
(Locked)
Work with files3m 12s
-
(Locked)
Expand selection with keyboard shortcuts2m 14s
-
-