🛡️ VSCode (Visual Studio Code) Cheat-Sheet
Visual Studio Code (VS Code) is a powerful, open-source code editor developed by Microsoft. It comes with a wide array of features that improve the coding experience, from debugging to version control integration. This cheat-sheet provides essential keyboard shortcuts for efficient navigation, editing, and code management in VS Code.
🔍 Overview
-
Product Type: Code Editor
-
Focus: Fast, efficient code editing and development with features for debugging, version control, and extensions.
🧠 Key Features
-
Intelligent Code Completion: Autocompletion for code, including functions, variables, and imports.
-
Git Integration: Built-in Git support for version control.
-
Extensions: Supports extensions for languages, themes, debuggers, and more.
-
Debugging Tools: Allows for debugging directly within the editor.
-
Integrated Terminal: Access to a terminal within the editor for command-line tasks.
⌨️ Keyboard Shortcuts
MacOS
General
-
Open Command Palette:
Cmd + Shift + P -
Quick Open File:
Cmd + P -
New Window:
Cmd + Shift + N -
Close Window:
Cmd + Shift + W
Editing
-
Cut Line:
Cmd + X -
Copy Line:
Cmd + C -
Paste:
Cmd + V -
Undo:
Cmd + Z -
Redo:
Cmd + Shift + Z -
Find:
Cmd + F -
Find in Files:
Cmd + Shift + F -
Replace:
Cmd + H -
Select All:
Cmd + A -
Go to Line:
Cmd + G
Navigation
-
Go to Definition:
Cmd + F12 -
Go to Symbol:
Cmd + Shift + O -
Show/Hide Explorer:
Cmd + Shift + E -
Show/Hide Terminal:
Ctrl + ~
Linux
General
-
Open Command Palette:
Ctrl + Shift + P -
Quick Open File:
Ctrl + P -
New Window:
Ctrl + Shift + N -
Close Window:
Ctrl + Shift + W
Editing
-
Cut Line:
Ctrl + X -
Copy Line:
Ctrl + C -
Paste:
Ctrl + V -
Undo:
Ctrl + Z -
Redo:
Ctrl + Shift + Z -
Find:
Ctrl + F -
Find in Files:
Ctrl + Shift + F -
Replace:
Ctrl + H -
Select All:
Ctrl + A -
Go to Line:
Ctrl + G
Navigation
-
Go to Definition:
F12 -
Go to Symbol:
Ctrl + Shift + O -
Show/Hide Explorer:
Ctrl + Shift + E -
Show/Hide Terminal:
Ctrl + ~
🌐 Related
🔁 Explore More
-
Extensions for Productivity in VSCode — Discover powerful extensions to boost your productivity in VSCode.
-
Debugging Tips for VSCode — Enhance your debugging skills with tips for using VSCode’s debugging tools effectively.
🏷️ Tags
vscode
code-editor
keyboard-shortcuts
macos
linux
productivity
debugging
version-control