What does Ctrl+/ do?

In VS Code, Ctrl+/ means: Toggle line comment on the current line or selection.

Where this shortcut applies

What does Ctrl+/ do?
AppPlatformWhat it does
VS CodeApp contextToggle line comment on the current line or selection
FigmaApp contextOpen the plugins and widgets search panel
SlackApp contextOpen the full list of Slack keyboard shortcuts
Microsoft TeamsApp contextShow the list of slash commands in the search bar
DaVinci ResolveApp contextToggle looped playback of the timeline
IntelliJ IDEAApp contextToggle line comment on the selected line(s)
CursorApp contextToggle line comment
ObsidianApp contextComment out the selected markdown line
Google MeetApp contextView all keyboard shortcuts in a help panel
Notepad++App contextReset the editor font size to default
Sublime TextApp contextComment or uncomment the current line(s)
AsanaApp contextDisplay the full Asana keyboard shortcut reference
LinearApp contextDisplay the full Linear keyboard shortcut reference

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 documented, open the linked application reference and check its documented context before relying on it.