From the course: Visual Studio Code Productivity Tips
Unlock this course with a free trial
Join today to access over 24,300 courses taught by industry experts.
Create custom keybindings for commands
From the course: Visual Studio Code Productivity Tips
Create custom keybindings for commands
- [Instructor] I'm a long time Visual Studio user. That's what we're looking at here, which means I've memorized a lot of command keystrokes that I use constantly when working in this IDE. For example, I use format document all the time. Let me show you the key mapping. It's here in the Edit menu under Advanced. It's this item here, Format Document, and you can see in the menu that it's mapped to Control K, Control D. Visual Studio Code has many of the same features as are in Visual Studio, but the key mapping can be different. You might feel disoriented too, having moved from another editor to VS Code. Fortunately, VS Code is customizable so that we can redefine keyboard shortcuts. So, here I am in Visual Studio Code. First, let's review how to find the keystroke for the Command and Context menu. So, you can look at any menu, like I can right-click here and see on the right side of the menu, the assigned key mapping. That works for context menus or any of the other menus. This also…
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
-
-