Namraj Pudasaini
Jul 20, 2026
VS Code is the editor most web developers spend their days in. Learning a handful of shortcuts and installing the right extensions can shave hours off your week. Here is what I use every day.
| Shortcut | Action |
|---|---|
Ctrl+Shift+P |
Open the Command Palette — access every command from one place |
Ctrl+P |
Quick file search — type a filename to jump to it |
Ctrl+R |
Switch between recent projects and folders |
Ctrl+B |
Toggle the sidebar on and off |
Ctrl+`` |
Toggle the integrated terminal |
Ctrl+Shift+E |
Open the Explorer sidebar |
| Shortcut | Action |
|---|---|
Alt+Up / Alt+Down |
Move the current line up or down |
Shift+Alt+Up / Shift+Alt+Down |
Copy the current line above or below |
Ctrl+D |
Select the next occurrence of the current selection |
Ctrl+Shift+K |
Delete the entire current line |
Ctrl+/ |
Toggle line comment |
Ctrl+Shift+/ |
Toggle block comment |
Alt+Click |
Add a second cursor at the click position |
Ctrl+Alt+Up / Down |
Add cursor above or below |
| Shortcut | Action |
|---|---|
Ctrl+Shift+L |
Select all occurrences of the current selection |
Ctrl+F |
Find in the current file |
Ctrl+H |
Find and replace |
Ctrl+Shift+F |
Find across all files in the workspace |
| Shortcut | Action |
|---|---|
Ctrl+Tab |
Switch between open tabs |
Ctrl+W |
Close the current tab |
Ctrl+\ |
Split the editor into two panes |
.scss files to .css on save and injects changes into the browser through Live Server.These are a few settings I change on every new machine:
{
"editor.fontSize": 16,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"workbench.iconTheme": "material-icon-theme"
}
You don't need to memorize every shortcut. Start with five or six that match your workflow — Ctrl+P for file search, Ctrl+D for multi-cursor editing, and Ctrl+`` for the terminal. Add extensions as you feel specific needs. Over time, these small habits compound into significantly faster development.