Skip to content
si:vscode

VS Code Shortcuts

Editors

By EZ4Code Team

General

10
ShortcutDescriptionPlatform
Ctrl+Shift+PShow Command Palettewindows
Cmd+Shift+PShow Command Palettemac
Ctrl+PQuick Open filewindows
Cmd+PQuick Open filemac
Ctrl+,Open Settingswindows
Cmd+,Open Settingsmac
Ctrl+K Ctrl+SOpen Keyboard Shortcutswindows
Cmd+K Cmd+SOpen Keyboard Shortcutsmac
Ctrl+`Toggle terminalwindows
Cmd+`Toggle terminalmac

Editing

12
ShortcutDescriptionPlatform
Ctrl+SSave filewindows
Cmd+SSave filemac
Ctrl+XCut line (no selection)windows
Cmd+XCut line (no selection)mac
Ctrl+CCopy line (no selection)windows
Cmd+CCopy line (no selection)mac
Alt+Up / Alt+DownMove line up/downwindows
Option+Up / Option+DownMove line up/downmac
Shift+Alt+DownDuplicate line downwindows
Shift+Option+DownDuplicate line downmac
Ctrl+/Toggle line commentwindows
Cmd+/Toggle line commentmac

Navigation

10
ShortcutDescriptionPlatform
Ctrl+GGo to linewindows
Cmd+GGo to linemac
F12Go to definitionall
Alt+F12Peek definitionwindows
Option+F12Peek definitionmac
Shift+F12Find all referencesall
Ctrl+Shift+OGo to symbol in filewindows
Cmd+Shift+OGo to symbol in filemac
Ctrl+TabSwitch between open editorswindows
Ctrl+Shift+TabSwitch editors (reverse)windows

Search

10
ShortcutDescriptionPlatform
Ctrl+FFind in filewindows
Cmd+FFind in filemac
Ctrl+HReplace in filewindows
Cmd+Option+FReplace in filemac
Ctrl+Shift+FFind in fileswindows
Cmd+Shift+FFind in filesmac
Ctrl+Shift+HReplace in fileswindows
Cmd+Shift+Option+FReplace in filesmac
F3Find nextall
Shift+F3Find previousall

Multi-cursor

10
ShortcutDescriptionPlatform
Alt+ClickAdd cursor at clickwindows
Option+ClickAdd cursor at clickmac
Ctrl+Alt+UpAdd cursor abovewindows
Cmd+Option+UpAdd cursor abovemac
Ctrl+Alt+DownAdd cursor belowwindows
Cmd+Option+DownAdd cursor belowmac
Ctrl+DSelect next occurrencewindows
Cmd+DSelect next occurrencemac
Ctrl+Shift+LSelect all occurrenceswindows
Cmd+Shift+LSelect all occurrencesmac

More Shortcuts