DEV Community

Danish Saleem
Danish Saleem

Posted on

Useful Shortcut Keys for VSCode

Basic Editing

Ctrl + X                    // Cut line
Ctrl + C                    // Copy line
Alt + ⬆ or ↓                // Move line up / down
Shift + Alt + ⬆ or ↓        // Copy line up / down
Ctrl + Shfit + K            // Delete line
Enter                       // Insert line below
Ctrl + Shift + Enter        // Intsert line above
Ctrl + F                    // Find
Ctrl + H                    // Replace
Ctrl + /                    // Toggle line comment
Shift + Alt + A             // Toggle block comment
Alt + Z                     // Select Multiple line individually
Tab                         // Indent line
Shift + Tab                 // Indent back the line
Enter fullscreen mode Exit fullscreen mode

Navigation

Ctrl + Shift + `            // Open New Terminal
Ctrl + Shift + M            // Open Problem Panel
Ctrl + P                    // Go to File

Enter fullscreen mode Exit fullscreen mode

File Management

Ctrl + N                    // New file
Ctrl + O                    // Open file
Ctrl + S                    // Save
Ctrl + Shfit + S            // Save As
Ctrl + Shfit + T            // Reopen closed file
Ctrl + Tab                  // Open next file
Ctrl + Shfit + Tab          // Open previous file
Enter fullscreen mode Exit fullscreen mode

Display

Ctrl + / -                  // Zoom in / out
Ctrl + B                    // Show sidebar visibility
Ctrl + Shfit + F            // Show Search
Ctrl + Shfit + X            // Show Extension
Ctrl + Shfit + D            // Show Debug
Ctrl + Shfit + U            // Show Output Panel
Ctrl + Shfit + G            // Show Source Control
Enter fullscreen mode Exit fullscreen mode

Did you find it help? Let me know your thoughts in the comments below!

Let's connect!

You can follow me on Twitter, LinkedIn & GitHub


If you like this post. Kindly support me by Buying Me a Coffee

Buy Me a Coffee

Top comments (0)