The command palette: your shortcut to everything
This opens a searchable list of literally every command VS Code has. Forgot a shortcut? Open the command palette and type what you want to do in plain words โ it'll find the command and show you its keyboard shortcut, too.
Shortcuts worth memorizing first
| Shortcut | Does |
|---|---|
| Ctrl/Cmd + P | Quick-open any file by typing its name |
| Ctrl/Cmd + ` | Toggle the integrated terminal open/closed |
| Ctrl/Cmd + / | Comment out the current line |
| Alt/Option + โโ | Move the current line up or down |
| Ctrl/Cmd + D | Select the next occurrence of the current word (multi-edit) |
| Ctrl/Cmd + Shift + K | Delete the current line entirely |
Ctrl/Cmd + D repeated multiple times selects every matching occurrence of a word at once, so you can rename all of them simultaneously by just typing. This alone replaces a huge amount of manual find-and-replace.
The integrated terminal: no more switching windows
Press Ctrl/Cmd + \` and a terminal opens right inside VS Code, already pointed at your project folder โ every command from Lesson 1 works exactly the same here, without alt-tabbing to a separate app.
Extensions worth installing on day one
| Extension | Why |
|---|---|
| Prettier | Auto-formats your code consistently โ stop manually fixing indentation |
| ESLint | Catches likely bugs and style issues as you type JavaScript |
| Live Server | Opens your HTML in the browser with auto-refresh on save โ exactly what you used for the HTML & CSS course |
| GitLens | Shows who changed each line and when, right inside the editor |
Install extensions from the Extensions icon in the left sidebar (or Ctrl/Cmd+Shift+X) โ search the name, click Install, done.
Multi-cursor editing
This is one of those features that feels unnecessary until the first time you need to add the same small change to five different lines โ then it becomes indispensable.
Try it yourself
Ctrl/Cmd+P to jump between files without touching your mouse, and Ctrl/Cmd+\` to toggle the terminal. Do this for a few minutes until it feels automatic โ muscle memory is the actual goal here.
Level up: install your first extensions
1. What does the Command Palette let you do?
2. Which extension auto-refreshes your browser when you save HTML?
3. What does Alt/Option + Click do?
Ctrl/Cmd+Shift+P) is your search bar for everything VS Code can do. A handful of shortcuts plus Prettier, ESLint, and Live Server cover most of what separates a fast workflow from a frustrating one.