Keys to comment code?


#1

Hi everyone, what is the shortcut key for entering comments in the code (html, css, java script, php …) ?


#2

You can find it listed under the Edit menu as Toggle Comments.


#3

There is also a way of doing that with the keyboard.
On Mac, cmd-/ will comment the current line or selection.


#4

The menu entry shows the keybinding, which is different between Mac and everything else.


#5

Good point, didn’t think about that!