Keyboard shortcut for commenting/uncommenting code


Hi everybody,

Is there a keyboard shortcut in the text editor to quickly comment/uncomment a block of code?

Thank you


Yes, there is. Press Ctrl + / (slash) to comment/uncomment.
You can also make a selection to comment out multiple lines (will add // to every line you include, not the /*code*/ thing).


Hi, that’s great! Thank you very much for the prompt reply.


Doesn’t work on mac :cry:


It’s command + slash on Mac.