This is a WIP community resource, containing contributions from community members.
This guide introduces several time-saving shortcuts and features in Visual Studio Code that help you code, navigate, and manage your projects more efficiently.
The Command Palette gives quick access to all commands in VS Code without needing to navigate menus. You can use it to run tasks, format code, open settings, manage extensions, and more.
Ctrl+Shift+P | Cmd+Shift+PEnter.Multi-cursor editing allows you to place multiple cursors in different positions to edit text simultaneously.
This is useful for renaming repeated variables, editing lists, or modifying multiple lines at once.
Alt+Click | Option+ClickCtrl+D | Cmd+DCtrl+Shift+L | Cmd+Shift+LThe Integrated Terminal lets you run command-line tools directly inside VS Code, avoiding context switching between your IDE and a separate terminal window.
Ctrl+` | Ctrl+` (macOS uses Control, not Cmd, for this one)Ctrl+J | Cmd+J
to open or hide the bottom panel, then select the Terminal tab if it isn’t active.These editing shortcuts are especially helpful for quick refactoring, aligning code, and maintaining a clean file layout.
Rename variables, methods, or classes easily across the entire project.
Press F2, type the new name, and press Enter.

Select text vertically instead of line by line. This is especially useful for editing tables, columns, or aligned code.
Hold / Shift+Alt | Shift+Option, then drag with the mouse to create a rectangular selection.

Move or duplicate code quickly without using copy-paste.
Shift+Alt+Up/Down | Shift+Option+Up/DownAlt+Up/Down | Option+Up/DownRemove unnecessary spaces at the end of lines to keep your files tidy.
Automatically fix indentation and spacing so your code stays consistent and readable.
Ctrl+K Ctrl+F | Cmd+K Cmd+FShift+Alt+F | Shift+Option+FTo configure formatting rules or format automatically on save, see the VS Code: Configuring the code style guide.
Comment or uncomment code without retyping. This is handy for debugging or testing different code paths.
Ctrl+/ | Cmd+/Shift+Alt+A | Shift+Option+AYou can adjust your VS Code layout quickly to maximize focus or view multiple panels at once.
Ctrl+B | Cmd+B — Show or hide the Explorer sidebar.Ctrl+J | Cmd+J — Show or hide the bottom panel (Terminal, Output, Problems, Debug Console).Jump directly to where a symbol is defined to trace how different parts of a larger codebase connect.
F12, or / Ctrl+Click | Cmd+ClickFor more navigation features such as Peek Definition and Go to Super Implementation, see the VS Code - Code Navigation guide.
VS Code highlights syntax or compilation issues directly in the editor and lists them in the Problems panel.
Ctrl+Shift+M | Cmd+Shift+MWhen working on README files or project documentation, VS Code can preview Markdown in real time.
Ctrl+Shift+V | Cmd+Shift+VCtrl+K V | Cmd+K VAll information, animated GIFs, and images on this page are adapted from the official Visual Studio Code – Tips and Tricks documentation. For more details and additional productivity tips, visit the official site.
Contributors: Jade Cheah (@JadeCheah)