Let's say that I have
/*
* comment 1
* comment 2
*/
in my VSCode. What is the shortcut to uncomment?
I tried block comment shortcut but doesn't work well
/*
* .......
*/
becomes
* .......
Let's say that I have
/*
* comment 1
* comment 2
*/
in my VSCode. What is the shortcut to uncomment?
I tried block comment shortcut but doesn't work well
/*
* .......
*/
becomes
* .......
Shift+Alt+A works like charming.
Here you can find all the keyboard shortcuts.
PS: I prefer Ctrl+Shift+/ for toggling block comments because Ctrl+/ is shortcut for toggling line comments so it's east to remember.
To do so, in VSCode just click on the
settings
icon in the bottom left of the screen and click
Keyboard Shortcuts
and find "toggle block...". Then click and enter your desired combination.
Ctrl+K, Ctrl+U removes the // comments