VS Code Keyboard Shortcuts
VS Code Keyboard Shortcuts
Keyboard Shortcuts
In this guide, you will find the most frequently-used keyboard shortcuts in Visual Studio
Code. They can be incredibly helpful for becoming a more productive developer and for
getting things done much faster.
My suggestion would be to print this guide and keep it close to you as a helpful resource
that you can refer to during the course and even beyond, as you start working on your
personal and professional projects with Visual Studio Code.
This resource is based on the official keyboard shortcuts provided by Visual Studio Code in
the following guides:
Windows: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf
macOS: https://code.visualstudio.com/shortcuts/keyboard-shortcuts-macos.pdf
For your convenience, I reorganized the categories and reformatted the presentation, to
display the keyboard shortcuts side-by-side for both Windows and macOS. This format,
inspired by my own experience working with these keyboard shortcuts, makes it easier to
navigate and master them across operating systems.
Please note that these keyboard shortcuts are designed for English-layout keyboards and
English operating systems. They might be different for other languages. So, before you
dive in, make sure your keyboard and operating system are set to English to follow this
guide.
(a) Please note that the letters in the keyboard shortcuts are written in uppercase. I is
uppercase i and L is uppercase l. In practice, they will work in both lowercase or uppercase.
(b) For macOS users, in this guide Cmd is , Option is , and Control is .
EstefaniaCN
Estefania Cassingena Navone
Course Instructor
Visual Studio Code
Keyboard Shortcuts
Copy line down Shift + Alt + Down Arrow Shift + Option + Down Arrow
Navigation
Navigation
Action Windows macOS
Navigate editor group history Ctrl + Shift + Tab Control + Shift + Tab
Display
Action Windows macOS
Display
Action Windows macOS
File Management
Action Windows macOS
Editor Management
Action Windows macOS
Cmd+K
Focus into previous editor group Ctrl+K Ctrl+Left Arrow
Cmd+Left Arrow
Cmd+K
Focus into next editor group Ctrl+K Ctrl+Right Arrow
Cmd+Right Arrow
Cmd+K
Move editor left Ctrl + Shift + PgUp
Shift+Cmd+Left Arrow
Cmd+K
Move editor right Ctrl + Shift + PgDn Shift+Cmd+Right Arrow
Move active editor group (left) Ctrl+K Left Arrow Cmd+K Left Arrow
Move active editor group (right) Ctrl+K Right Arrow Cmd+K Right Arrow
Integrated Terminal
Action Windows macOS
Control+Space,
Trigger suggestion Ctrl+Space, Ctrl+I
Cmd+I
Rename symbol F2 F2
Move last selection to next Find match Ctrl+K Ctrl+D Cmd+K Cmd+D
Option + Cmd
Insert cursor above Ctrl + Alt + Up Arrow
+ Up Arrow
Option + Cmd
Insert cursor below Ctrl + Alt + Down Arrow
+ Down Arrow
Insert cursor at end of each line selected Shift + Alt + I Shift + Option + I
Shift + Option
Column (box) selection Shift + Alt + Drag Mouse
+ Drag Mouse
Debug
Action Windows macOS
Toggle Breakpoint F9 F9
Start / Continue F5 F5