I want to comment out my code in this style
/**
* This is
* A multiline comment
*/
Is it possible to do with a shortcut?
EDIT 1:
https://github.com/Microsoft/vscode/issues/50301 Address this issue, however it does not work with a shortcut. I want to be able to select a block of code and comment it out in the style above
How to comment out multiline/single line in VS Code:
macOS:
Shift + Option + A
Windows And Linux core:
Shift + Alt + A
How to remap/change these shortcuts?
Windows : File > Preferences > Keyboard Shortcuts.
MacOS : Code > Preferences > Keyboard Shortcuts.
You can search through the list both by keybindings (key names) and command names.
I use this type of comment in VS Code but I don't think there is an shortcut for this.
I usually do this by typing /**
Then JSDoc Comment is toggled and you can use that.
/**
* This is
* A multiline comment
*/
for more : click here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With