Comment/Uncomment Selection/Block

I’m not sure I’ll make much use of the outdent/indent buttons (especially if it were possible to auto-format code), but I could definitely see wanting to be able to quickly comment/uncomment lines/blocks of code in HTML, PHP, JS and CSS.

1 Like

Thanks for the feedback!

I use the “Command-/” style individual line commenting/uncommenting in other editors all the time, so this is definitely something I’d like to add.


Presently Whisk comes with two Code Snippets for commenting what is specifically selected:

Shift-Option-C will comment HTML-style <!-- ... -->
Option-C will comment C-style /* ... */

These can be modified by editing snippets.