- Published on
My favorite VSCode keyboard shortcuts
- Authors
- Name
- Chris Postma
VS Code
Command | Description |
---|---|
shift+opt+i | multiple cursors at end of line |
cmd+shift+e | target/open directory structure |
space | while directory structure active, open a file |
ctrl+enter | while directory structure active, open a file in right editor group |
cmd+shift p | change case or transform to |
f12 | go to definition |
opt+f12 | peek definition |
cmd+shift+\ | go to matching bracket |
ctrl+shift+left or right | shrink or grow selection |
cmd+k, left or right | move editor group left or right |
cmd+shift+[ or ] | toggle between editor panes |
cmd+ctrl+left or right | move editor pane left or right |
cmd+k, opt+right | new editor group right |
cmd+opt+[ or ] | collapse/expand block |
cmd+shift+o | go to symbol definition |
ctrl+shift+g | view source control tab |
cmd+u | move to previous cursor position |
ctrl+shift+5 | split integrated terminal |
cmd+f12, ctrl+enter | peek definition, then open in adjacent editor group |
ctrl+- | after peeking definition, go back to definition reference |
cmd+p, p | go back to previous file |
cmd+shift+. | peek at definitions in file, then use arrows to move through them |
ctrl+cmd+opt+shift+e | go to next issue in file or f8 |
cmd+k, cmd+i | show hover definition |
opt+] | cycle github copilot suggestions |
ctrl+enter | show all github copilot suggestions |