Hello,
When I want to comment line(s) of code in javascript with the shortcut, it starts with /* and ends with */
But I want that the shortcut just puts a “//” at the beginning of the selected lines.
Is it possible, if yes how ?
Thank you.
Change comment type for javascript
Jouten
#1
0 Likes
kingkeith
#2
what shortcut are you using?
there are 2, you can see them from the Edit menu -> Comment:
- Toggle Comment
//
- Toggle Block Comment
/*
…*/
Probably you are using the shortcut for Block Comments when you want the normal line comment one.
1 Like