Advertisement

Visual Studio Code Shortcuts Command List:

In this article, you will find keyboard shortcuts for Visual Studio Code. Visual Studio Code, commonly referred to as VS Code, is a popular code editor developed by Microsoft. It is widely used by developers for writing, editing, and debugging code across various programming languages.

Visual Studio Code offers a range of tools and features that enhance productivity, including integrated version control, IntelliSense, code refactoring, and an extensive library of extensions.

Keyboard Shortcuts for Visual Studio Code

General Shortcuts

  • Ctrl + N: New File
  • Ctrl + O: Open File
  • Ctrl + S: Save
  • Ctrl + Shift + S: Save As
  • Ctrl + P: Open File by Name
  • Ctrl + Shift + P: Command Palette
  • Ctrl + Z: Undo
  • Ctrl + Y: Redo
  • Ctrl + C: Copy
  • Ctrl + V: Paste
  • Ctrl + X: Cut
  • Ctrl + F: Find

Editing Shortcuts

  • Ctrl + Shift + K: Delete Line
  • Ctrl + Enter: Insert Line Below
  • Ctrl + Shift + Enter: Insert Line Above
  • Ctrl + D: Add Selection to Next Find Match
  • Ctrl + L: Select Current Line
  • Shift + Alt + Down: Copy Line Down
  • Shift + Alt + Up: Copy Line Up
  • Alt + Down: Move Line Down
  • Alt + Up: Move Line Up
  • Ctrl + Shift + : Format Document
  • Ctrl + K Ctrl + C: Add Line Comment
  • Ctrl + K Ctrl + U: Remove Line Comment
  • Ctrl + /: Toggle Line Comment
  • Shift + Alt + A: Toggle Block Comment
  • Alt + Z: Toggle Word Wrap

Navigation Shortcuts

  • Ctrl + T: Show All Symbols
  • Ctrl + G: Go to Line...
  • Ctrl + P: Go to File...
  • Ctrl + Shift + O: Go to Symbol...
  • Ctrl + Shift + M: Show Problems
  • F8: Go to Next Error or Warning
  • Shift + F8: Go to Previous Error or Warning
  • Ctrl + Shift + Tab: Navigate Editor Group History
  • Ctrl + -: Go Back
  • Ctrl + Shift + -: Go Forward
  • Ctrl + K Ctrl + Q: Quick Open Recent Files

Search and Replace Shortcuts

  • Ctrl + F: Find
  • Ctrl + H: Replace
  • F3: Find Next
  • Shift + F3: Find Previous
  • Alt + C: Toggle Case Sensitive
  • Alt + W: Toggle Match Whole Word
  • Alt + R: Toggle Use Regular Expression

Integrated Terminal Shortcuts

  • Ctrl + `: Toggle Terminal
  • Ctrl + Shift + `: Create New Terminal
  • Ctrl + C: Copy Selection
  • Ctrl + V: Paste into Active Terminal
  • Ctrl + Up: Scroll Up
  • Ctrl + Down: Scroll Down
  • Ctrl + Home: Scroll to Top
  • Ctrl + End: Scroll to Bottom

Debugging Shortcuts

  • F5: Start Debugging
  • Shift + F5: Stop Debugging
  • F9: Toggle Breakpoint
  • F10: Step Over
  • F11: Step Into
  • Shift + F11: Step Out
  • Ctrl + K Ctrl + I: Show Hover

Source Control Shortcuts

  • Ctrl + Shift + G: Source Control
  • Ctrl + Shift + U: Show Output
  • Ctrl + Shift + M: Show Problems Panel
  • Ctrl + Shift + : Commit
  • Ctrl + K Ctrl + P: Push
  • Ctrl + K Ctrl + U: Pull

These shortcuts can significantly enhance your efficiency and workflow while using Visual Studio Code. Explore more shortcuts and customize them according to your preference by navigating to the keyboard shortcuts settings in VS Code.




Ansys AutoCAD Catia
Civil 3D CNC Creo
E-Tabs Excel Fusion 360
InfraWorks Lumions Matlab
MX Road NavisWorks NX CAD
NX CAM Powerpoint Primavera P6
Revit SketchUp SoldWorks
Staad Pro Tekla VS Studio Code
V-Ray Windows-10/11 MS Word