Menu

VScode keyboard shortcuts

S
Ctrl + / / Cmd + /: Toggle comment on line or selection
A
Ctrl + ~ / Cmd + ~: Open integrated terminal
Ctrl + K + J / Cmd + K + J: Unfold all code
Ctrl + K + 0 / Cmd + K + 0: Fold all code
Ctrl + F / Cmd + F: Search within the current file
Option + Shift + Down / Up: Duplicate line or selection up or down
B
Alt + Shift + Down / Up
Ctrl + D / Cmd + D: Select next occurrence of the selected text
Ctrl + Shift + L / Cmd + Shift + L: Select all occurrences
Alt + Click / Option + Click: Create multiple cursors
C
Ctrl + P / Cmd + P: Open file search (quick open any file)
Ctrl + \ / Cmd + : Split editor into two panels
Ctrl + B / Cmd + B: Toggle sidebar (Explorer, extensions, etc.)
D
Ctrl + F5 / Cmd + F5: run code
Created Feb 9, 2026
Unlock your VScode potential with this definitive keyboard shortcut tier list! Mastering these commands can drastically speed up your workflow. From the essential **Ctrl + P** for lightning-fast file navigation and **Ctrl + ~** to instantly access the integrated terminal, to powerful selection tools like **Ctrl + D** for multi-cursor editing and **Ctrl + Shift + L** for mass changes, discover the shortcuts that will transform your coding experience. We'll rank everything from basic commenting (**Ctrl + /**) to advanced code folding (**Ctrl + K + 0**) and editor manipulation (**Ctrl + \**). Which ones will reign supreme?

(This description was AI-generated)

By Yash Bhandari

S Tier

A Tier

B Tier

C Tier

D Tier