Visual Studio Code is the modern, open source and cross-platform text and code editor, the new hot kid on the block. Code editing. Redefined. Download Visual Studio Code via Code.visualstudio.com.
| General | |
|---|---|
| Show Command Palette | β§ β P, F1 |
| Quick Open, Go to Fileβ¦ | β P |
| New window/instance | β§ β N |
| Close window/instance | β W |
| User Settings | β , |
| Keyboard Shortcuts | β K β S |
| Basic editing | |
| Cut line (empty selection) | β X |
| Copy line (empty selection) | β C |
| Move line down/up | β₯ β / β₯ β |
| Copy line down/up | β§ β₯ β / β§ β₯ β |
| Delete line | β§ β K |
| Insert line below/above | β β© / β§ β β© |
| Jump to matching bracket | β§ β \ |
| Indent/outdent line | β ] / β [ |
| Go to beginning/end of line | Home / End |
| Go to beginning/end of file | β β / β β |
| Scroll line up/down | β PgUp / β PgDn |
| Scroll page up/down | β PgUp /β PgDn |
| Fold/unfold region | β₯ β [ / β₯ β ] |
| Fold/unfold all subregions | β K β [ / β K β ] |
| Fold/unfold all regions | β K β 0 / β K β J |
| Add line comment | β K β C |
| Remove line comment | β K β U |
| Toggle line comment | β / |
| Toggle block comment | β§ β₯ A |
| Toggle word wrap | β₯ Z |
| Rich language editing | |
| Trigger suggestion | β Space |
| Trigger parameter hints | β§ β Space |
| Format document | β§ β₯ F |
| Format selection | β K β F |
| Go to Definition | F12 |
| Peek Definition | β₯ F12 |
| Open Definition to the side | β K F12 |
| Quick Fix | β . |
| Show References | β§ F12 |
| Rename Symbol | F2 |
| Trim trailing whitespace | β K β X |
| Change file language | β K M |
| Navigation | |
| Show all Symbols | β T |
| Go to Line... | β G |
| Go to File... | β P |
| Go to Symbol... | β§ β O |
| Show Problems panel | β§ β M |
| Go to next/previous error or warning | F8 / β§ F8 |
| Navigate editor group history | β β§ Tab |
| Go back/forward | β - / β β§ - |
| Toggle Tab moves focus | β β§ M |
| Editor management | |
| Close editor | β W |
| Close folder | β K F |
| Split editor | β \ |
| Focus into 1st, 2nd, 3rd editor group | β 1 / β 2 / β 3 |
| Focus into previous/next editor group | β K β β / β K β β |
| Move editor left/right | β K β§ β β / β K β§ β β |
| Move active editor group | β K β / β K β |
| Search and replace | |
| Find | β F |
| Replace | β₯ β F |
| Find next/previous | β G / β§ β G |
| Select all occurrences of Find match | β₯ β© |
| Add selection to next Find match | β D |
| Move last selection to next Find match | β K β D |
| Display | |
| Toggle full screen | β β F |
| Toggle editor layout (horizontal/vertical) | β₯ β 0 |
| Zoom in/out | β = / β§ β - |
| Toggle Sidebar visibility | β B |
| Show Explorer / Toggle focus | β§ β E |
| Show Search | β§ β F |
| Show Source Control | β β§ G |
| Show Debug | β§ β D |
| Show Extensions | β§ β X |
| Replace in files | β§ β H |
| Toggle Search details | β§ β J |
| Show Output panel | β§ β U |
| Open Markdown preview | β§ β V |
| Open Markdown preview to the side | β K V |
| Zen Mode (Esc Esc to exit) | β K Z |
| File management | |
| New File | β N |
| Open File... | β O |
| Save | β S |
| Save As... | β§ β S |
| Save All | β₯ β S |
| Close | β W |
| Close All | β K β W |
| Reopen closed editor | β§ β T |
| Keep preview mode editor open | β K β© |
| Open next / previous | β Tab / β β§ Tab |
| Copy path of active file | β K P |
| Reveal active file in Explorer | β K R |
| Show active file in new window/instance | β K O |
| Debug | |
| Toggle breakpoint | F9 |
| Start/Continue | F5 |
| Step into/ out | F11 / β§ F11 |
| Step over | F10 |
| Stop | β§ F5 |
| Show hover | β K β I |
| Integrated terminal | |
| Show integrated terminal | β ` |
| Create new terminal | β β§ ` |
| Copy selection | β C |
| Scroll up/down | β β / β |
| Scroll page up/down | PgUp / PgDn |
| Scroll to top/bottom | β Home / End |
| Multi-cursor selection | |
| Insert cursor | β₯ + click |
| Insert cursor above | β₯ β β |
| Insert cursor below | β₯ β β |
| Undo last cursor operation | β U |
| Insert cursor at end of each line selected | β§ β₯ I |
| Select current line | β I |
| Select all occurrences of current selection | β§ β L |
| Select all occurrences of current word | β F2 |
| Expand / shrink selection | β β§ β β / β |
| Column (box) selection | β§ β₯ + drag mouse |
| Column (box) selection up/down | β§ β₯ β β / β |
| Column (box) selection left/right | β§ β₯ β β / β |
| Column (box) selection page up | β§ β₯ β PgUp |
| Column (box) selection page down | β§ β₯ β PgDn |
| Editing | |
|---|---|
| Cut line | Ctrl + X |
| Insert line bellow | Ctrl + β© |
| Insert line above | Ctrl + β§ + β© |
| Move line/selection up | Alt + β |
| Move line/selection down | Alt + β |
| Select word - Repeat select others occurrences | Ctrl + D |
| Delete Line | Ctrl + β§ + K |
| Indent current line(s) | Ctrl + ] |
| Un-indent current line(s) | Ctrl + [ |
| Duplicate line(s) up/down | Alt + β§ + β/β |
| Go to the begining of line | Home |
| Go to the end of line | End |
| Scroll line up | Ctrl + β |
| Scroll line down | Ctrl + β |
| Go to the begining of file | Ctrl + Home |
| Go to the end of file | Ctrl + End |
| Collapse region | Ctrl + β§ + [ |
| Uncollapse region | Ctrl + β§ + ] |
| Collapse all regions | Ctrl + K Ctrl + 0 |
| Uncoollapse all regions | Ctrl + K Ctrl + J |
| Toggle line comment | Ctrl + / |
| Toggle word wrap | Alt + Z |
| Navigation/Goto Anywhere | |
| Show all Symbols | |
| Goto line in current file | Ctrl + G |
| Quick-open files by name | Ctrl + P |
| Goto symbol | Ctrl + β§ + O |
| Show Problems panel | Ctrl + β§ + M |
| Go to next error warning | F8 |
| Go to previous error warning | β§ + F8 |
| Navigate editor group history | Ctrl + β§ + Tab |
| Go back / forward | Alt + β / β |
| General | |
| Command prompt | Ctrl + β§ + P |
| Toggle side bar | Ctrl + KB |
| Show scope in status bar | Ctrl + β§ + Alt + P |
| Find/Replace | |
| Find | Ctrl + F |
| Replace | Ctrl + H |
| Find next / previous | F3 / β§ + F3 |
| Select all occurrences of Find match | Alt + β© |
| Find in files | Ctrl + β§ + F |
| Add selection to the next Find match | Ctrl + D |
| Multi-cursor and selection | |
| Insert cursor | Alt + Click |
| Undo last cursor operation | Ctrl + U |
| Insert cursor at end of each line selected | β§ + Alt + I |
| Select current line | Ctrl + I |
| Select all occurrences of current selection | Ctrl + β§ + L |
| Select all occurrences of current word | Ctrl + F2 |
| Expand selection | β§ + Alt + β |
| Shrink selection | β§ + Alt + β |
| Column (box) selection | β§ + Alt + (drag mouse) |
| Rich languages editing | |
| Trigger suggestion | Ctrl + Space |
| Trigger parameter hints | Ctrl + β§ + Space |
| Format document | β§ + Alt + F |
| Format selection | Ctrl + K Ctrl + F |
| Go to definition | F12 |
| Peek definition | Alt + F12 |
| Open Definition to the side | Ctrl + K F12 |
| Trim trailing whitespace | Ctrl + K Ctrl + X |
| Change file language | Ctrl + K M |
| Editor management | |
| Close editor | Ctrl + F4 |
| Close folder | Ctrl + K F |
| Split editor in 1 / 2 / 3 parts | Ctrl + 1 / 2 / 3 |
| Split view into two columns | Alt + β§ + 2 |
| Revert view to single column | Alt + β§ + 1 |
| Move editor left/right | Ctrl + β§ + PgUp / PgDn |
| Toggle editor layout (horizontal/vertical) | β§ + Alt + 0 |
| File management | |
| New file | Ctrl + N |
| Open file... | Ctrl + O |
| Close current tab | Ctrl + W |
| Save | Ctrl + S |
| Save as... | Ctrl + β§ + S |
| Save all | Ctrl + K S |
| Reopen closed editor | Ctrl + β§ + T |
| Toggle tabs | Ctrl + Tab |
| Switch to tab number [NUM] where [NUM] <= number of tabs | Alt + [NUM] |
| Reveal active file in Explorer | Ctrl + K R |
| Show active file in new window/instance | Ctrl + K O |
| Display | |
| Toggle full screen | F11 |
| Zoom in/out | Ctrl + =/- |
| Toggle Sidebar visibility | Ctrl + B |
| Show Explorer / Toggle focus | Ctrl + β§ + E |
| Show Search | Ctrl + β§ + F |
| Show Source Control | Ctrl + β§ + G |
| Show Debug | Ctrl + β§ + D |
| Show Extensions | Ctrl + β§ + E |
| Replace in files | Ctrl + β§ + H |
| Toggle Search details | Ctrl + β§ + J |
| Toggle Output panel | Ctrl + β§ + U |
| Open Markdown preview | Ctrl + β§ + V |
| Open Markdown preview to the side | Ctrl + K V |
| Zen Mode (Esc Esc to exit) | Ctrl + K Z |
| Debug | |
| Toggle breakpoint | F9 |
| Start/Continue | F5 |
| Stop | β§ + F5 |
| Step into/out | F11 / β§ + F11 |
| Step over | F10 |
| Show hover | Ctrl + K Ctrl + I |
| Integrated terminal | |
| Show integrated terminal | Ctrl + ` |
| Create new terminal | Ctrl + β§ + ` |
| Copy selection | Ctrl + C |
| Paste into active terminal | Ctrl + V |
| Scroll up/down | Ctrl + β / β |
| Scroll page up/down | β§ + PgUp / PgDn |
| Scroll to top/bottom | Ctrl + Home / End |
Try searching for something else. Think weβre missing something? Send us an issue or add it yourself.
Add a missing shortcut πͺοΈUse calculations, charts, datepickers, eSignatures, payments, Google Places API, file uploads β Then embed it in your Framer website or other site builder.
Start building for freeFeel free to request missing tools or give some feedback using Twitter, E-mail or GitHub! If you can, please help out by adding the data yourself and be the hero of the Β±12k people per month using this resource.
Add a tool πͺDesigning products that enable others to to create or become more effective Β· Currently Product Designer @ConvertCalculator Β· Prev @WeTransfer, @Awkward & @YipYip.
Buy me a coffee β Twitter π¦