VSCode shortcuts
(macOS)
Code navigation
- **Search references- **: ⇧⌘R, F12
- **Go to statement- **: ⇧⌘R, F12
- **Next error- **: ⌥⇧⇟, ⇧⌘F12
- **Next problem in file- **: ⌥⇟
- **Previous error- **: ⌥⇧⇞
- **Previous problem in file- **: ⌥⇞
Debugging
- **Enable/Disable breakpoint- **: ⌥⌘ /, ⌘F9
- **Hang- **: ⌥⌘P, ⌥⌘L5
- **Remove all breakpoints- **: ⇧⌘F9
- **Execute to cursor- **: ⌘F10
- **Define the following instruction- **: ⇧⌘F10
- **Detailed step by step- **: ⇧⌘I, ⌘F11
Text editor
- **Complete the word- **: ⌃␣
- **Delete the character on the left- **: ⌃H
- **Delete the following subword- **: ⌃⌦
- **Delete previous word- **: ⌥⌫
- **Delete the character on the right- **: ⌃D
- **Expand selection- **: ⌥⇧↓, ⌥⇧↑
File
- **Close all- **: ⇧⌘W
- **New file- **: ⌘N
- **Open- **: ⌘O
- **Save- **: ⌘S
- **Save all- **: ⇧⌘S
- **Close file- **: ⌘W
Refactoring
- **Import a symbol- **: ⌃⌥␣
- **Quick fix- **: ⌥⏎
Research
- **Search- **: ⌘F
- **Next- **: ⌘G, F3
- **Previous- **: ⇧⌘G, ⇧F3
- **Search in files- **: ⇧⌘F
- **Go to file- **: ⇧⌘D
- **Reach the line- **: ⌘L
Window
- **Enable 1- **: ⌘1
- **Enable 2- **: ⌘2
- **Enable 3- **: ⌘3
- **Hide Visual Studio- **: ⌘H
- **Collapse- **: ⌘M
- **Next document- **: ⌘}, ⌘F6