← Back to Shortcut Collections
Visual Studio Code

Visual Studio Code

Microsoft's lightweight yet powerful code editor supporting development in any language with rich extensions and excellent IntelliSense

Shortcuts for code editing and navigation features that dramatically improve programming efficiency

Ctrl+Shift+P
Show Command Palette
Shows the Command Palette with access to all commands.
πŸ’‘ Hint: Palette
🎯 Provides access to all commands, allowing you to invoke any feature without mouse interaction
Ctrl+P
Quick Open, Go to File…
Opens the Quick Open dialog to quickly navigate to files.
πŸ’‘ Hint: Pick file
🎯 Instantly open target files by just typing the filename
Ctrl+G
Go to Line...
Goes to a specific line number.
πŸ’‘ Hint: Go to line
🎯 Instantly jump to specific code locations by specifying line numbers
Ctrl+Shift+O
Go to Symbol...
Goes to symbols in the current file.
πŸ’‘ Hint: Outline
🎯 Quickly find function and variable definitions to navigate within code
Shift+Alt+↓
Copy line down
Copies the current line down.
πŸ’‘ Hint: Shift + down arrow copies line down
🎯 Duplicate the current line downward to efficiently create similar code
Alt+↑
Move line up
Moves the current line up.
πŸ’‘ Hint: Up arrow moves line up
🎯 Move code blocks upward to organize code structure
Alt+↓
Move line down
Moves the current line down.
πŸ’‘ Hint: Down arrow moves line down
🎯 Move code blocks downward to organize code structure
Ctrl+/
Toggle line comment
Toggles line comment on/off for the current line.
πŸ’‘ Hint: / = comment character
🎯 Instantly disable code temporarily or add explanations
Ctrl+Shift+K
Delete line
Deletes the current line.
πŸ’‘ Hint: Kill line
🎯 Delete unnecessary code lines instantly without selection