Visual Studio Code

General

SHIFT+CMD+P, F1

Show Command Palette

CMD+P

Quick Open, Go to File…

SHIFT+CMD+N

New window/instance

CMD+W

Close window/instance

CMD+,

User Settings

CMD+K CMD+S

Keyboard Shortcuts

Basic Editing

CMD+X

Cut line (empty selection)

editor.action.clipboardCutAction

CMD+C

Copy line (empty selection)

editor.action.clipboardCopyAction

CMD+V

Paste

editor.action.clipboardPasteAction

SHIFT+CMD+K

Delete Line

editor.action.deleteLines

CMD+Enter

Insert Line Below

editor.action.insertLineAfter

SHIFT+CMD+Enter

Insert Line Above

editor.action.insertLineBefore

OPTION+↓

Move Line Down

editor.action.moveLinesDownAction

OPTION+↑

Move Line Up

editor.action.moveLinesUpAction

SHIFT+OPTION+↓

Copy Line Down

editor.action.copyLinesDownAction

SHIFT+OPTION+↑

Copy Line Up

editor.action.copyLinesUpAction

CMD+Z

Undo

undo

SHIFT+CMD+Z

Redo

redo

CMD+D

Add Selection To Next Find Match

editor.action.addSelectionToNextFindMatch

CMD+K CMD+D

Move Last Selection To Next Find Match

editor.action.moveSelectionToNextFindMatch

CMD+U

Undo last cursor operation

cursorUndo

SHIFT+OPTION+I

Insert cursor at end of each line selected

editor.action.insertCursorAtEndOfEachLineSelected

SHIFT+CMD+L

Select all occurrences of current selection

editor.action.selectHighlights

CMD+F2

Select all occurrences of current word

editor.action.changeAll

CMD+L

Select current line

expandLineSelection

OPTION+CMD+↓

Insert Cursor Below

editor.action.insertCursorBelow

OPTION+CMD+↑

Insert Cursor Above

editor.action.insertCursorAbove

SHIFT+CMD+\

Jump to matching bracket

editor.action.jumpToBracket

CMD+]

Indent Line

editor.action.indentLines

CMD+[

Outdent Line

editor.action.outdentLines

Home

Go to Beginning of Line

cursorHome

End

Go to End of Line

cursorEnd

CMD+↓

Go to End of File

cursorBottom

CMD+↑

Go to Beginning of File

cursorTop

CTRL+PageDown

Scroll Line Down

scrollLineDown

CTRL+PageUp

Scroll Line Up

scrollLineUp

CMD+PageDown

Scroll Page Down

scrollPageDown

CMD+PageUp

Scroll Page Up

scrollPageUp

OPTION+CMD+[

Fold (collapse) region

editor.fold

OPTION+CMD+]

Unfold (uncollapse) region

editor.unfold

CMD+K CMD+[

Fold (collapse) all subregions

editor.foldRecursively

CMD+K CMD+]

Unfold (uncollapse) all subregions

editor.unfoldRecursively

CMD+K CMD+0

Fold (collapse) all regions

editor.foldAll

CMD+K CMD+J

Unfold (uncollapse) all regions

editor.unfoldAll

CMD+K CMD+C

Add Line Comment

editor.action.addCommentLine

CMD+K CMD+U

Remove Line Comment

editor.action.removeCommentLine

CMD+/

Toggle Line Comment

editor.action.commentLine

SHIFT+OPTION+A

Toggle Block Comment

editor.action.blockComment

CMD+F

Find

actions.find

OPTION+CMD+F

Replace

editor.action.startFindReplaceAction

Enter

Find Next

editor.action.nextMatchFindAction

SHIFT+Enter

Find Previous

editor.action.previousMatchFindAction

OPTION+Enter

Select All Occurrences of Find Match

editor.action.selectAllMatches

OPTION+CMD+C

Toggle Find Case Sensitive

toggleFindCaseSensitive

OPTION+CMD+R

Toggle Find Regex

toggleFindRegex

OPTION+CMD+W

Toggle Find Whole Word

toggleFindWholeWord

CTRL+SHIFT+M

Toggle Use of Tab Key for Setting Focus

editor.action.toggleTabFocusMode

unassigned

Toggle Render Whitespace

toggleRenderWhitespace

OPTION+Z

Toggle Word Wrap

editor.action.toggleWordWrap

Rich Languages Editing

CTRL+Space

Trigger Suggest

editor.action.triggerSuggest

SHIFT+CMD+Space

Trigger Parameter Hints

editor.action.triggerParameterHints

SHIFT+OPTION+F

Format Document

editor.action.formatDocument

CMD+K CMD+F

Format Selection

editor.action.formatSelection

F12

Go to Definition

editor.action.revealDefinition

CMD+K CMD+I

Show Hover

editor.action.showHover

OPTION+F12

Peek Definition

editor.action.peekDefinition

CMD+K F12

Open Definition to the Side

editor.action.revealDefinitionAside

CMD+.

Quick Fix

editor.action.quickFix

SHIFT+F12

Go to References

editor.action.goToReferences

F2

Rename Symbol

editor.action.rename

SHIFT+CMD+.

Replace with Next Value

editor.action.inPlaceReplace.down

SHIFT+CMD+,

Replace with Previous Value

editor.action.inPlaceReplace.up

CTRL+SHIFT+CMD+→

Expand AST Selection

editor.action.smartSelect.expand

CTRL+SHIFT+CMD+←

Shrink AST Selection

editor.action.smartSelect.shrink

CMD+K CMD+X

Trim Trailing Whitespace

editor.action.trimTrailingWhitespace

CMD+K M

Change Language Mode

workbench.action.editor.changeLanguageMode

Navigation

CMD+T

Show All Symbols

workbench.action.showAllSymbols

CTRL+G

Go to Line...

workbench.action.gotoLine

CMD+P

Go to File..., Quick Open

workbench.action.quickOpen

SHIFT+CMD+O

Go to Symbol...

workbench.action.gotoSymbol

SHIFT+CMD+M

Show Problems

workbench.actions.view.problems

F8

Go to Next Error or Warning

editor.action.marker.nextInFiles

SHIFT+F8

Go to Previous Error or Warning

editor.action.marker.prevInFiles

SHIFT+CMD+P or F1

Show All Commands

workbench.action.showCommands

CTRL+Tab

Navigate Editor Group History

workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup

CTRL+-

Go Back

workbench.action.navigateBack

CTRL+-

Go back in Quick Input

workbench.action.quickInputBack

CTRL+SHIFT+-

Go Forward

workbench.action.navigateForward

Editor/Window Management

SHIFT+CMD+N

New Window

workbench.action.newWindow

CMD+W

Close Window

workbench.action.closeWindow

CMD+W

Close Editor

workbench.action.closeActiveEditor

CMD+K F

Close Folder

workbench.action.closeFolder

unassigned

Cycle Between Editor Groups

workbench.action.navigateEditorGroups

CMD+\

Split Editor

workbench.action.splitEditor

CMD+1

Focus into First Editor Group

workbench.action.focusFirstEditorGroup

CMD+2

Focus into Second Editor Group

workbench.action.focusSecondEditorGroup

CMD+3

Focus into Third Editor Group

workbench.action.focusThirdEditorGroup

unassigned

Focus into Editor Group on the Left

workbench.action.focusPreviousGroup

unassigned

Focus into Editor Group on the Right

workbench.action.focusNextGroup

CMD+K SHIFT+CMD+←

Move Editor Left

workbench.action.moveEditorLeftInGroup

CMD+K SHIFT+CMD+→

Move Editor Right

workbench.action.moveEditorRightInGroup

CMD+K ←

Move Active Editor Group Left

workbench.action.moveActiveEditorGroupLeft

CMD+K →

Move Active Editor Group Right

workbench.action.moveActiveEditorGroupRight

CTRL+CMD+→

Move Editor into Next Group

workbench.action.moveEditorToNextGroup

CTRL+CMD+←

Move Editor into Previous Group

workbench.action.moveEditorToPreviousGroup

File Management

CMD+N

New File

workbench.action.files.newUntitledFile

unassigned

Open File...

workbench.action.files.openFile

CMD+S

Save

workbench.action.files.save

OPTION+CMD+S

Save All

workbench.action.files.saveAll

SHIFT+CMD+S

Save As...

workbench.action.files.saveAs

CMD+W

Close

workbench.action.closeActiveEditor

OPTION+CMD+T

Close Others

workbench.action.closeOtherEditors

CMD+K W

Close Group

workbench.action.closeEditorsInGroup

unassigned

Close Other Groups

workbench.action.closeEditorsInOtherGroups

unassigned

Close Group to Left

workbench.action.closeEditorsToTheLeft

unassigned

Close Group to Right

workbench.action.closeEditorsToTheRight

CMD+K CMD+W

Close All

workbench.action.closeAllEditors

SHIFT+CMD+T

Reopen Closed Editor

workbench.action.reopenClosedEditor

CMD+K Enter

Keep Open

workbench.action.keepEditor

CMD+K P

Copy Path of Active File

workbench.action.files.copyPathOfActiveFile

CMD+K R

Reveal Active File in Windows

workbench.action.files.revealActiveFileInWindows

CMD+K O

Show Opened File in New Window

workbench.action.files.showOpenedFileInNewWindow

unassigned

Compare Opened File With

workbench.files.action.compareFileWith

Display

CTRL+CMD+F

Toggle Full Screen

workbench.action.toggleFullScreen

CMD+K Z

Toggle Zen Mode

workbench.action.toggleZenMode

Escape Escape

Leave Zen Mode

workbench.action.exitZenMode

CMD+=

Zoom in

workbench.action.zoomIn

CMD+-

Zoom out

workbench.action.zoomOut

CMD+Numpad0

Reset Zoom

workbench.action.zoomReset

SHIFT+CMD+E

Show Explorer / Toggle Focus

workbench.view.explorer

SHIFT+CMD+F

Show Search

workbench.view.search

CTRL+SHIFT+G

Show Source Control

workbench.view.scm

SHIFT+CMD+D

Show Run

workbench.view.debug

SHIFT+CMD+X

Show Extensions

workbench.view.extensions

SHIFT+CMD+U

Show Output

workbench.action.output.toggleOutput

CTRL+Q

Quick Open View

workbench.action.quickOpenView

SHIFT+CMD+C

Open New Command Prompt

workbench.action.terminal.openNativeConsole

SHIFT+CMD+V

Toggle Markdown Preview

markdown.showPreview

CMD+K V

Open Preview to the Side

markdown.showPreviewToSide

CTRL+`

Toggle Integrated Terminal

workbench.action.terminal.toggleTerminal

Search

SHIFT+CMD+F

Show Search

workbench.view.search

SHIFT+CMD+H

Replace in Files

workbench.action.replaceInFiles

OPTION+CMD+C

Toggle Match Case

toggleSearchCaseSensitive

OPTION+CMD+W

Toggle Match Whole Word

toggleSearchWholeWord

OPTION+CMD+R

Toggle Use Regular Expression

toggleSearchRegex

Search Editor

Preferences

CMD+,

Open Settings

workbench.action.openSettings

unassigned

Open Workspace Settings

workbench.action.openWorkspaceSettings

CMD+K CMD+S

Open Keyboard Shortcuts

workbench.action.openGlobalKeybindings

unassigned

Open User Snippets

workbench.action.openSnippets

CMD+K CMD+T

Select Color Theme

workbench.action.selectTheme

unassigned

Configure Display Language

workbench.action.configureLocale

Debug

F9

Toggle Breakpoint

editor.debug.action.toggleBreakpoint

F5

Start

workbench.action.debug.start

F5

Continue

workbench.action.debug.continue

CTRL+F5

Start (without debugging)

workbench.action.debug.run

F6

Pause

workbench.action.debug.pause

F11

Step Into

workbench.action.debug.stepInto

Tasks

SHIFT+CMD+B

Run Build Task

workbench.action.tasks.build

unassigned

Run Test Task

workbench.action.tasks.test

Extensions

unassigned

Install Extension

workbench.extensions.action.installExtension

unassigned

Show Installed Extensions

workbench.extensions.action.showInstalledExtensions

unassigned

Show Outdated Extensions

workbench.extensions.action.listOutdatedExtensions

unassigned

Update All Extensions

workbench.extensions.action.updateAllExtensions

Notes