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

What does Ctrl+/ do?
AppPlatformWhat it does
VS CodePlatform not independently verifiedToggle line comment on the current line or selection
Verification pending
FigmaPlatform not independently verifiedOpen the plugins and widgets search panel
Verification pending
SlackPlatform not independently verifiedOpen the full list of Slack keyboard shortcuts
Verification pending
Microsoft TeamsPlatform not independently verifiedShow the list of slash commands in the search bar
Verification pending
DaVinci ResolvePlatform not independently verifiedToggle looped playback of the timeline
Verification pending
IntelliJ IDEAPlatform not independently verifiedToggle line comment on the selected line(s)
Verification pending
CursorPlatform not independently verifiedToggle line comment
Verification pending
ObsidianPlatform not independently verifiedComment out the selected markdown line
Verification pending
Google MeetPlatform not independently verifiedView all keyboard shortcuts in a help panel
Verification pending
Notepad++Platform not independently verifiedReset the editor font size to default
Verification pending
Sublime TextPlatform not independently verifiedComment or uncomment the current line(s)
Verification pending
AsanaPlatform not independently verifiedDisplay the full Asana keyboard shortcut reference
Verification pending
LinearPlatform not independently verifiedDisplay 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.