| General |
|---|
| Show Command Palette | Ctrl+Shift+P |
| Quick Open / Go to File | Ctrl+P |
| New Window | Ctrl+Shift+N |
| Close Window | Ctrl+Shift+W |
| User Settings | Ctrl+, |
| Keyboard Shortcuts | Ctrl+KCtrl+S |
| Select color theme | Ctrl+KCtrl+T |
| Open Chat view | Ctrl+Alt+I |
| Open Chat in agent mode | Ctrl+Shift+I |
| Open Quick Chat | Ctrl+Alt+Shift+L |
| Open language model picker | Ctrl+Alt+. |
| Run build task | Ctrl+Shift+B |
| Open inline chat in editor | Ctrl+I |
| Open chat agent picker | Ctrl+. |
| Start a new chat session | Ctrl+N |
| Editing |
|---|
| Cut line (empty selection) | Ctrl+X |
| Copy line (empty selection) | Ctrl+C |
| Move line up/down | Alt+↑/↓ |
| Copy line up/down | Alt+Shift+↑/↓ |
| Delete line | Ctrl+Shift+K |
| Insert line below | Ctrl+Enter |
| Insert line above | Ctrl+Shift+Enter |
| Jump to matching bracket | Ctrl+Shift+\ |
| Indent / outdent line | Ctrl+]/Ctrl+[ |
| Go to beginning of line | Home |
| Go to end of line | End |
| Go to beginning of file | Ctrl+Home |
| Go to end of file | Ctrl+End |
| Toggle line comment | Ctrl+/ |
| Toggle block comment | Alt+Shift+A |
| Undo | Ctrl+Z |
| Redo | Ctrl+Y |
| Format document | Alt+Shift+F |
| Format selection | Ctrl+KCtrl+F |
| Toggle word wrap | Alt+Z |
| Show parameter hints | Ctrl+Shift+Space |
| Select all occurrences of find match | Alt+Enter |
| Move line up | Alt+↑ |
| Move line down | Alt+↓ |
| Copy line down | Alt+Shift+↓ |
| Paste | Ctrl+V |
| Copy line up | Alt+Shift+↑ |
| Move last selection to next find match | Ctrl+KCtrl+D |
| Scroll one line down | Ctrl+↓ |
| Scroll one line up | Ctrl+↑ |
| Scroll one page down | Alt+PageDown |
| Scroll one page up | Alt+PageUp |
| Toggle folding of current region | Ctrl+KCtrl+L |
| Fold all nested regions | Ctrl+KCtrl+[ |
| Unfold all nested regions | Ctrl+KCtrl+] |
| Fold all regions | Ctrl+KCtrl+0 |
| Unfold all regions | Ctrl+KCtrl+J |
| Add line comment | Ctrl+KCtrl+C |
| Remove line comment | Ctrl+KCtrl+U |
| Replace with previous value | Ctrl+Shift+, |
| Expand syntax selection | Alt+Shift+→ |
| Shrink syntax selection | Alt+Shift+← |
| Trim trailing whitespace | Ctrl+KCtrl+X |
| Change file language mode | Ctrl+KM |
| Fold current region | Ctrl+Shift+[ |
| Unfold current region | Ctrl+Shift+] |
| Toggle Tab focus mode | Ctrl+M |
| Trigger suggestions | Ctrl+Space |
| Show quick fixes | Ctrl+. |
| Rename symbol | F2 |
| Replace with next value | Ctrl+Shift+. |
| Multi-cursor & Selection |
|---|
| Insert cursor above/below | Alt+Ctrl+↑/↓ |
| Undo last cursor | Ctrl+U |
| Select all occurrences of current selection | Ctrl+Shift+L |
| Select all occurrences of current word | Ctrl+F2 |
| Add selection to next find match | Ctrl+D |
| Select current line | Ctrl+L |
| Column (box) selection | Shift+Alt+drag |
| Insert cursor above | Ctrl+Alt+↑ |
| Insert cursors at selected line ends | Alt+Shift+I |
| Search & Replace |
|---|
| Find | Ctrl+F |
| Replace | Ctrl+H |
| Find next/previous | F3/Shift+F3 |
| Toggle case-sensitive | Alt+C |
| Toggle regex | Alt+R |
| Toggle whole word | Alt+W |
| Search across files | Ctrl+Shift+F |
| Replace across files | Ctrl+Shift+H |
| Toggle search details | Ctrl+Shift+J |
| Find previous match in find widget | Shift+Enter |
| Focus previous search result | Shift+F4 |
| Next search term in Search view | ↓ |
| Previous search term in Search view | ↑ |
| Search again in Search Editor | Ctrl+Shift+R |
| Delete file results from Search Editor | Ctrl+Shift+Backspace |
| Open search results in Search Editor | Alt+Enter |
| Navigation |
|---|
| Go to line | Ctrl+G |
| Go to symbol in file | Ctrl+Shift+O |
| Go to symbol in workspace | Ctrl+T |
| Go to definition | F12 |
| Peek definition | Alt+F12 |
| Open definition to side | Ctrl+KF12 |
| Go back / forward | Alt+←/Alt+→ |
| Go to next error/warning | F8 |
| Show all references | Alt+Shift+F12 |
| Navigate editor group history | Ctrl+Tab |
| Go to previous error or warning | Shift+F8 |
| Focus breadcrumbs | Ctrl+Shift+; |
| Go back in Quick Input | Alt+← |
| Focus and select breadcrumbs | Ctrl+Shift+. |
| Editor Management |
|---|
| Close editor | Ctrl+W |
| Close folder | Ctrl+KF |
| Split editor | Ctrl+\ |
| Focus 1st/2nd/3rd editor group | Ctrl+1/2/3 |
| Move editor left/right | Ctrl+Shift+PgUp/PgDn |
| New editor group to the left/right | Ctrl+K←/→ |
| Focus first editor group | Ctrl+1 |
| Focus second editor group | Ctrl+2 |
| Focus third editor group | Ctrl+3 |
| Focus editor group on the left | Ctrl+KCtrl+← |
| Focus editor group on the right | Ctrl+KCtrl+→ |
| Move editor left | Ctrl+Shift+PageUp |
| Move editor right | Ctrl+Shift+PageDown |
| Move active editor group left | Ctrl+K← |
| Move active editor group right | Ctrl+K→ |
| Move editor into next group | Ctrl+Alt+→ |
| Move editor into previous group | Ctrl+Alt+← |
| File Management |
|---|
| New file | Ctrl+N |
| Open file | Ctrl+O |
| Save | Ctrl+S |
| Save as | Ctrl+Shift+S |
| Save all | Ctrl+KS |
| Close all editors | Ctrl+KCtrl+W |
| Reopen closed editor | Ctrl+Shift+T |
| Close editor group | Ctrl+KW |
| Keep preview editor open | Ctrl+KEnter |
| Copy active file path | Ctrl+KP |
| Reveal active file in system file manager | Ctrl+KR |
| Display |
|---|
| Toggle full screen | F11 |
| Toggle sidebar | Ctrl+B |
| Toggle terminal | Ctrl+` |
| Toggle problems panel | Ctrl+Shift+M |
| Zoom in/out | Ctrl+=/Ctrl+- |
| Reset zoom | Ctrl+Numpad0(numerickeypad) |
| Zen mode | Ctrl+KZ |
| Show Source Control view | Ctrl+Shift+G |
| Show Extensions view | Ctrl+Shift+X |
| Quickly open a view | Ctrl+Q |
| Open preview to the side | Ctrl+KV |
| Show or focus Explorer | Ctrl+Shift+E |
| Show Run view | Ctrl+Shift+D |
| Show Output panel | Ctrl+Shift+U |
| Toggle Markdown preview | Ctrl+Shift+V |
| Debug |
|---|
| Toggle breakpoint | F9 |
| Start / continue debug | F5 |
| Stop debug | Shift+F5 |
| Step over | F10 |
| Step into | F11 |
| Step out | Shift+F11 |
| Show hover | Ctrl+KCtrl+I |
| Start without debugging | Ctrl+F5 |
| Integrated Terminal |
|---|
| Create new terminal | Ctrl+Shift+` |
| Copy selection | Ctrl+C |
| Scroll up/down | Ctrl+↑/↓ |
| Scroll page up/down | Shift+PgUp/PgDn |
| Scroll to top/bottom | Ctrl+Home/End |
| Open external terminal | Ctrl+Shift+C |
| Open inline chat in terminal | Ctrl+I |