0% found this document useful (0 votes)
21 views3 pages

Vs CODE Shortcuts

The document provides a comprehensive list of keyboard shortcuts for Visual Studio Code, organized into categories such as General, File Management, Editing, Navigation, Multi-Cursor and Selection, Debugging, Terminal, Search and Replace, View and Window Management, and Extensions and Snippets. Each category includes specific shortcuts for various functions, with both Windows and Mac key combinations. This serves as a quick reference guide for users to enhance their productivity in VS Code.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Vs CODE Shortcuts

The document provides a comprehensive list of keyboard shortcuts for Visual Studio Code, organized into categories such as General, File Management, Editing, Navigation, Multi-Cursor and Selection, Debugging, Terminal, Search and Replace, View and Window Management, and Extensions and Snippets. Each category includes specific shortcuts for various functions, with both Windows and Mac key combinations. This serves as a quick reference guide for users to enhance their productivity in VS Code.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

All VS Code Shortcuts

-by Siddharth vaidya


1. General

• Command Palette: Ctrl + Shift + P (Cmd + Shift + P)

• Quick Open (Navigate files): Ctrl + P (Cmd + P)

• Toggle Sidebar: Ctrl + B (Cmd + B)

• Settings: Ctrl + , (Cmd + ,)

• Close Window: Ctrl + W (Cmd + W)

2. File Management

• New File: Ctrl + N (Cmd + N)

• Open File: Ctrl + O (Cmd + O)

• Save File: Ctrl + S (Cmd + S)

• Save All Files: Ctrl + K, S (Cmd + Option + S)

• Close File: Ctrl + F4 (Cmd + W)

• Reopen Closed File: Ctrl + Shift + T (Cmd + Shift + T)

3. Editing

• Cut Line: Ctrl + X (Cmd + X)

• Copy Line: Ctrl + C (Cmd + C)

• Duplicate Line: Shift + Alt + Down (Shift + Option + Down)

• Move Line Up/Down: Alt + Up/Down (Option + Up/Down)

• Delete Line: Ctrl + Shift + K (Cmd + Shift + K)

• Add Line Below: Ctrl + Enter (Cmd + Enter)

• Add Line Above: Ctrl + Shift + Enter (Cmd + Shift + Enter)

• Toggle Comment: Ctrl + / (Cmd + /)

• Format Document: Shift + Alt + F (Shift + Option + F)

• Select All Occurrences: Ctrl + Shift + L (Cmd + Shift + L)


All VS Code Shortcuts
-by Siddharth vaidya
4. Navigation

• Go to Line: Ctrl + G (Cmd + G)

• Go to Symbol: Ctrl + Shift + O (Cmd + Shift + O)

• Go Back: Alt + Left (Cmd + Option + Left)

• Go Forward: Alt + Right (Cmd + Option + Right)

• Open Next Editor Tab: Ctrl + Tab (Cmd + Option + Right)

5. Multi-Cursor and Selection

• Add Cursor Above/Below: Ctrl + Alt + Up/Down (Cmd + Option + Up/Down)

• Select All Occurrences of Word: Ctrl + F2 (Cmd + F2)

• Expand Selection: Shift + Alt + Right (Shift + Option + Right)

• Shrink Selection: Shift + Alt + Left (Shift + Option + Left)

6. Debugging

• Toggle Debug Console: Ctrl + Shift + Y (Cmd + Shift + Y)

• Step Over: F10

• Step Into: F11

• Step Out: Shift + F11

• Start/Continue Debugging: F5

• Stop Debugging: Shift + F5

7. Terminal

• Toggle Integrated Terminal: Ctrl + ` (Cmd + ``)

• Create New Terminal: Ctrl + Shift + (`Cmd + Shift + `)

• Kill Terminal: Ctrl + Shift + W (Cmd + Shift + W)

8. Search and Replace

• Find: Ctrl + F (Cmd + F)

• Find and Replace: Ctrl + H (Cmd + Option + F)

• Find in Files: Ctrl + Shift + F (Cmd + Shift + F)


All VS Code Shortcuts
-by Siddharth vaidya
9. View and Window Management

• Split Editor: Ctrl + \ (Cmd + \)

• Focus Next Editor Group: Ctrl + K, Ctrl + Right (Cmd + K, Cmd + Right)

• Maximize Editor Size: Ctrl + Shift + Alt + Enter (Cmd + Shift + Option + Enter)

• Zoom In/Out: Ctrl + + / - (Cmd + + / -)

10. Extensions and Snippets

• Open Extensions View: Ctrl + Shift + X (Cmd + Shift + X)

• Insert Snippet: Ctrl + Shift + P > "Insert Snippet"

• Manage Extensions: Ctrl + Shift + P > "Extensions"

You might also like