What does Ctrl+/ do?
In VS Code, Ctrl+/ means: Toggle line comment on the current line or selection.
Last verified: Not yet independently verified
Where this shortcut applies
| App | Platform | What it does |
|---|---|---|
| VS Code | Platform not independently verified | Toggle line comment on the current line or selection Verification pending |
| Figma | Platform not independently verified | Open the plugins and widgets search panel Verification pending |
| Slack | Platform not independently verified | Open the full list of Slack keyboard shortcuts Verification pending |
| Microsoft Teams | Platform not independently verified | Show the list of slash commands in the search bar Verification pending |
| DaVinci Resolve | Platform not independently verified | Toggle looped playback of the timeline Verification pending |
| IntelliJ IDEA | Platform not independently verified | Toggle line comment on the selected line(s) Verification pending |
| Cursor | Platform not independently verified | Toggle line comment Verification pending |
| Obsidian | Platform not independently verified | Comment out the selected markdown line Verification pending |
| Google Meet | Platform not independently verified | View all keyboard shortcuts in a help panel Verification pending |
| Notepad++ | Platform not independently verified | Reset the editor font size to default Verification pending |
| Sublime Text | Platform not independently verified | Comment or uncomment the current line(s) Verification pending |
| Asana | Platform not independently verified | Display the full Asana keyboard shortcut reference Verification pending |
| Linear | Platform not independently verified | Display the full Linear keyboard shortcut reference Verification pending |
Full shortcut pages
Frequently asked questions
- What does Ctrl+/ do?
- In VS Code, Ctrl+/ means: Toggle line comment on the current line or selection.
- Does this shortcut work the same way in every app?
- No. The listed contexts include VS Code, Figma, Slack, Microsoft Teams, DaVinci Resolve, IntelliJ IDEA, Cursor, Obsidian, Google Meet, Notepad++, Sublime Text, Asana, Linear. Check the table for each application and platform: the active window, keyboard layout and application settings determine which command receives the key press. An application being available on an operating system is not evidence that this exact binding works there.
- What should I use on a Mac?
- Use a macOS binding shown in the table, if one is recorded for your task and application. This page does not assume that replacing Ctrl with Cmd produces a working Mac shortcut. When an equivalent has not been independently verified, open the linked application reference and check its documented context before relying on it.