Editor: Turn highlighted code block into comments Feature

Sometimes I move a block of code into a method and need to do some work on it later. It would be handy to be able to automatically comment (and uncomment it out)

  1. Add the comment string and a space (ie - //_) to the highlighted code block

  2. Reverse step 1) with a remove-comment command (ie - remove any //_ found in the first 3 columns of the line)

Right mouse invoked preferably (e.g. - Comment-Block; UnComment-Block)

Thanks,

Michael

For the time-being you can use the “C style” comment block:

/*
this
code
is
now
commented
*/

I also use it this way personally:

/************************
TODO: Fix this stuff below:
************************
this
code
is
now
commented
************************/