Skip to the main content

Visual Studio Code

Default editor keymap for code navigation, selection, and editing.

Published coverage: Mac, Windows. Environments: Desktop app.

8 actions and 11 key variants match.

Search all apps

Matching shortcuts
Action Keys Row actions
Toggle a line's comment state Code editor Mac Cmd/ 1 more variant Details
Format the current file Formatter available A formatter must be installed for the current file type. Mac ShiftOptionF 1 more variant Details
Rename the current symbol Language support available Language support must be available for the current file. Mac F2 1 more variant Details
Matching bracket Editor Windows CtrlShift\ Details
Fold region Foldable region Windows CtrlShift[ Details
Unfold region Folded region Windows CtrlShift] Details
Add comment Language support Language support must be available for the current file. Windows CtrlKCtrlC Details
Remove comment Language support Language support must be available for the current file. Windows CtrlKCtrlU Details