Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
149 lines (149 sloc) 8.26 KB
<table id="myTable">
<tr><th colspan="2">General</th></tr>
<tbody>
<tr><td>Show Command Palette</td><td>⇧ ⌘ P, F1</td></tr>
<tr><td>Quick Open, Go to File…</td><td>⌘ P</td></tr>
<tr><td>New window/instance</td><td>⇧ ⌘ N</td></tr>
<tr><td>Close window/instance</td><td>⌘ W</td></tr>
<tr><td>User Settings</td><td>⌘ ,</td></tr>
<tr><td>Keyboard Shortcuts</td><td>⌘ K ⌘ S</td></tr>
</tbody>
<tr><th colspan="2">Basic editing</th></tr>
<tbody>
<tr><td>Cut line (empty selection)</td><td>⌘ X</td></tr>
<tr><td>Copy line (empty selection)</td><td>⌘ C</td></tr>
<tr><td>Move line down/up</td><td>⌥ ↓ / ⌥ ↑</td></tr>
<tr><td>Copy line down/up</td><td>⇧ ⌥ ↓ / ⇧ ⌥ ↑</td></tr>
<tr><td>Delete line</td><td>⇧ ⌘ K</td></tr>
<tr><td>Insert line below/above</td><td>⌘ ↩ / ⇧ ⌘ ↩ </td></tr>
<tr><td>Jump to matching bracket</td><td>⇧ ⌘ \</td></tr>
<tr><td>Indent/outdent line</td><td>⌘ ] / ⌘ [</td></tr>
<tr><td>Go to beginning/end of line</td><td>Home / End</td></tr>
<tr><td>Go to beginning/end of file</td><td>⌘ ↑ / ⌘ ↓</td></tr>
<tr><td>Scroll line up/down</td><td>⌃ PgUp / ⌃ PgDn</td></tr>
<tr><td>Scroll page up/down</td><td>⌘ PgUp /⌘ PgDn</td></tr>
<tr><td>Fold/unfold region</td><td>⌥ ⌘ [ / ⌥ ⌘ ]</td></tr>
<tr><td>Fold/unfold all subregions</td><td>⌘ K ⌘ [ / ⌘ K ⌘ ]</td></tr>
<tr><td>Fold/unfold all regions</td><td>⌘ K ⌘ 0 / ⌘ K ⌘ J</td></tr>
<tr><td>Add line comment</td><td>⌘ K ⌘ C</td></tr>
<tr><td>Remove line comment</td><td>⌘ K ⌘ U</td></tr>
<tr><td>Toggle line comment</td><td>⌘ /</td></tr>
<tr><td>Toggle block comment</td><td>⇧ ⌥ A</td></tr>
<tr><td>Toggle word wrap</td><td>⌥ Z</td></tr>
</tbody>
<tr><th colspan="2">Rich language editing</th></tr>
<tbody>
<tr><td>Trigger suggestion</td><td>⌃ Space</td></tr>
<tr><td>Trigger parameter hints</td><td>⇧ ⌘ Space</td></tr>
<tr><td>Format document</td><td>⇧ ⌥ F</td></tr>
<tr><td>Format selection</td><td>⌘ K ⌘ F</td></tr>
<tr><td>Go to Definition</td><td>F12</td></tr>
<tr><td>Peek Definition</td><td>⌥ F12</td></tr>
<tr><td>Open Definition to the side</td><td>⌘ K F12</td></tr>
<tr><td>Quick Fix</td><td>⌘ .</td></tr>
<tr><td>Show References</td><td>⇧ F12</td></tr>
<tr><td>Rename Symbol</td><td>F2</td></tr>
<tr><td>Trim trailing whitespace</td><td>⌘ K ⌘ X</td></tr>
<tr><td>Change file language</td><td>⌘ K M</td></tr>
</tbody>
<tr><th colspan="2">Navigation</th></tr>
<tbody>
<tr><td>Show all Symbols</td><td>⌘ T</td></tr>
<tr><td>Go to Line...</td><td>⌃ G</td></tr>
<tr><td>Go to File...</td><td>⌘ P</td></tr>
<tr><td>Go to Symbol...</td><td>⇧ ⌘ O</td></tr>
<tr><td>Show Problems panel</td><td>⇧ ⌘ M</td></tr>
<tr><td>Go to next/previous error or warning</td><td>F8 / ⇧ F8</td></tr>
<tr><td>Navigate editor group history</td><td>⌃ ⇧ Tab</td></tr>
<tr><td>Go back/forward</td><td>⌃ - / ⌃ ⇧ -</td></tr>
<tr><td>Toggle Tab moves focus</td><td>⌃ ⇧ M</td></tr>
</tbody>
<tr><th colspan="2">Editor management</th></tr>
<tbody>
<tr><td>Close editor</td><td>⌘ W</td></tr>
<tr><td>Close folder</td><td>⌘ K F</td></tr>
<tr><td>Split editor</td><td>⌘ \</td></tr>
<tr><td>Focus into 1st, 2nd, 3rd editor group</td><td>⌘ 1 / ⌘ 2 / ⌘ 3</td></tr>
<tr><td>Focus into previous/next editor group</td><td>⌘ K ⌘ ← / ⌘ K ⌘ →</td></tr>
<tr><td>Move editor left/right</td><td>⌘ K ⇧ ⌘ ← / ⌘ K ⇧ ⌘ →</td></tr>
<tr><td>Move active editor group</td><td>⌘ K ← / ⌘ K →</td></tr>
</tbody>
<tr><th colspan="2">Search and replace</th></tr>
<tbody>
<tr><td>Find</td><td>⌘ F</td></tr>
<tr><td>Replace</td><td>⌥ ⌘ F</td></tr>
<tr><td>Find next/previous</td><td>⌘ G / ⇧ ⌘ G</td></tr>
<tr><td>Select all occurrences of Find match</td><td>⌥ ↩ </td></tr>
<tr><td>Add selection to next Find match</td><td>⌘ D</td></tr>
<tr><td>Move last selection to next Find match</td><td>⌘ K ⌘ D</td></tr>
</tbody>
<tr><th colspan="2">Display</th></tr>
<tbody>
<tr><td>Toggle full screen</td><td>⌃ ⌘ F</td></tr>
<tr><td>Toggle editor layout (horizontal/vertical)</td><td>⌥ ⌘ 0</td></tr>
<tr><td>Zoom in/out</td><td>⌘ = / ⇧ ⌘ -</td></tr>
<tr><td>Toggle Sidebar visibility</td><td>⌘ B</td></tr>
<tr><td>Show Explorer / Toggle focus</td><td>⇧ ⌘ E</td></tr>
<tr><td>Show Search</td><td>⇧ ⌘ F</td></tr>
<tr><td>Show Source Control</td><td>⌃ ⇧ G</td></tr>
<tr><td>Show Debug</td><td>⇧ ⌘ D</td></tr>
<tr><td>Show Extensions</td><td>⇧ ⌘ X</td></tr>
<tr><td>Replace in files</td><td>⇧ ⌘ H</td></tr>
<tr><td>Toggle Search details</td><td>⇧ ⌘ J</td></tr>
<tr><td>Show Output panel</td><td>⇧ ⌘ U</td></tr>
<tr><td>Open Markdown preview</td><td>⇧ ⌘ V</td></tr>
<tr><td>Open Markdown preview to the side</td><td>⌘ K V</td></tr>
<tr><td>Zen Mode (Esc Esc to exit)</td><td>⌘ K Z</td></tr>
</tbody>
<tr><th colspan="2">File management</th></tr>
<tbody>
<tr><td>New File</td><td>⌘ N</td></tr>
<tr><td>Open File...</td><td>⌘ O</td></tr>
<tr><td>Save</td><td>⌘ S</td></tr>
<tr><td>Save As...</td><td>⇧ ⌘ S</td></tr>
<tr><td>Save All</td><td>⌥ ⌘ S</td></tr>
<tr><td>Close</td><td>⌘ W</td></tr>
<tr><td>Close All</td><td>⌘ K ⌘ W</td></tr>
<tr><td>Reopen closed editor</td><td>⇧ ⌘ T</td></tr>
<tr><td>Keep preview mode editor open</td><td>⌘ K ↩ </td></tr>
<tr><td>Open next / previous</td><td>⌃ Tab / ⌃ ⇧ Tab</td></tr>
<tr><td>Copy path of active file</td><td>⌘ K P</td></tr>
<tr><td>Reveal active file in Explorer</td><td>⌘ K R</td></tr>
<tr><td>Show active file in new window/instance</td><td>⌘ K O</td></tr>
</tbody>
<tr><th colspan="2">Debug</th></tr>
<tbody>
<tr><td>Toggle breakpoint</td><td>F9</td></tr>
<tr><td>Start/Continue</td><td>F5</td></tr>
<tr><td>Step into/ out</td><td>F11 / ⇧ F11</td></tr>
<tr><td>Step over</td><td>F10</td></tr>
<tr><td>Stop</td><td>⇧ F5</td></tr>
<tr><td>Show hover</td><td>⌘ K ⌘ I</td></tr>
</tbody>
<tr><th colspan="2">Integrated terminal</th></tr>
<tbody>
<tr><td>Show integrated terminal</td><td>⌃ `</td></tr>
<tr><td>Create new terminal</td><td>⌃ ⇧ `</td></tr>
<tr><td>Copy selection</td><td>⌘ C</td></tr>
<tr><td>Scroll up/down</td><td>⌘ ↑ / ↓</td></tr>
<tr><td>Scroll page up/down</td><td>PgUp / PgDn</td></tr>
<tr><td>Scroll to top/bottom</td><td>⌘ Home / End</td></tr>
</tbody>
<tr><th colspan="2">Multi-cursor selection</th></tr>
<tbody>
<tr><td>Insert cursor</td><td>⌥ + click</td></tr>
<tr><td>Insert cursor above</td><td>⌥ ⌘ ↑</td></tr>
<tr><td>Insert cursor below</td><td>⌥ ⌘ ↓</td></tr>
<tr><td>Undo last cursor operation</td><td>⌘ U</td></tr>
<tr><td>Insert cursor at end of each line selected</td><td>⇧ ⌥ I</td></tr>
<tr><td>Select current line</td><td>⌘ I</td></tr>
<tr><td>Select all occurrences of current selection</td><td>⇧ ⌘ L</td></tr>
<tr><td>Select all occurrences of current word</td><td>⌘ F2</td></tr>
<tr><td>Expand / shrink selection</td><td>⌃ ⇧ ⌘ → / ←</td></tr>
<tr><td>Column (box) selection</td><td>⇧ ⌥ + drag mouse</td></tr>
<tr><td>Column (box) selection up/down</td><td>⇧ ⌥ ⌘ ↑ / ↓</td></tr>
<tr><td>Column (box) selection left/right</td><td>⇧ ⌥ ⌘ ← / →</td></tr>
<tr><td>Column (box) selection page up</td><td>⇧ ⌥ ⌘ PgUp</td></tr>
<tr><td>Column (box) selection page down</td><td>⇧ ⌥ ⌘ PgDn</td></tr>
</tbody>
</table>
You can’t perform that action at this time.