Reputation: 21
I know that the hotkey to comment in cursor is ctrl+m+c.
But what is the hotkey to uncomment?
A hack I use is typing "uncomment" when doing query to AI with ctrl+k.
Upvotes: 0
Views: 34
Reputation: 916
Please use VSCode menu item: [Main Menu] > File > Preferences > Keyboard Shortcuts (Ctrl-K Ctrl-S).
Not only you can use it as a reference for currently active shortcuts, but you can create a shortcut you need.
I'm looking at my keyboard shortcuts and I can see:
Toggle Line Comment: Ctrl+/
Toggle Block Comment: Shift+Alt+A
and a lot more comment-related commands.
Upvotes: 0