If this tool helped you, you can buy us a coffee ☕
Search VS Code keyboard shortcuts by function or key combination. Get cross-platform (Windows, Mac, Linux) mappings to boost your coding efficiency.
| Function Description | Shortcut Key |
|---|---|
| No relevant shortcut keys found | |
When you want to quickly perform an action in VS Code but can't remember the exact key combination, manually searching official documentation or trying to memorize countless shortcuts can disrupt your workflow. This tool serves as a static VS Code shortcut database. It allows you to quickly search by entering a function description (e.g., "Format Document") or a key combination (e.g., "Ctrl+S"). It then returns the corresponding shortcut and highlights the specific key differences across Windows, macOS, and Linux platforms. A "VS Code shortcut" refers to one or more key combinations assigned to a specific command within the editor, designed to replace menu clicks and enable rapid execution.
1. How do I find the shortcut for "Format Code"?
Type "Format" in the search box. The tool will list all related entries, including "Format Document" (typically Shift+Alt+F) and "Format Selection". Choose the correct key combination based on the function description and your operating system.
2. Why isn't the shortcut I found working in my VS Code?
There are three possible reasons: First, you might be using the shortcut for the wrong operating system; second, an installed extension might have overridden the default shortcut; third, you may have customized your keybindings in your VS Code settings. This tool provides the official default VS Code keybindings as a reference.
The data in this tool is based on the default keyboard shortcuts mapping of the stable version of VS Code. It does not include shortcuts added via Extensions or user customizations (keybindings.json). If a shortcut fails to work, please check the Keyboard Shortcuts settings panel in VS Code first. Minor keybinding adjustments may occur between different VS Code versions, so results are for reference only. This tool does not process file uploads; all queries are executed locally in your browser.
For developers, the key to mastering shortcuts is "contextual memory" rather than rote memorization. We recommend categorizing common operations, such as "Navigation" (Go to Definition, Find All References), "Editing" (Copy Line, Delete Line), and "View" (Toggle Side Bar, Split Editor), and mastering 2-3 core shortcuts per group. For example, the typical operation "Rename Symbol" defaults to F2 on Windows/Linux, and F2 (or Fn+F2) on macOS. When search results show different keys for multiple platforms, always memorize and practice based on the operating system used in your current development environment.