Menu

how to setup block comments

Anonymous
2008-11-21
2012-11-13
  • Anonymous

    Anonymous - 2008-11-21

    you know so you select some code, and then use a hotkey to auto block comment??...

     
    • Gadrin

      Gadrin - 2008-11-22

      I believe this is configurable by the LANGS.XML file and the extension of the file you're using.

      IIRC I was editing some .VBS files and used the block comment (context menu/right click) and it inserted REM instead of ' for vbscript. I made the changes and it worked.

      The only trouble is that the block comment doesn't place the ' for vbscript in column-1, instead it ignores whitespace and finds the first character on the line and then pre-pends the comment char to that...

      so instead of having

      '_______First Word

      it looks like:

      _______'First Word

      (pretend the ___ are spaces or tabs).

      Haven't figured that one out yet.

      >

       
      • Anonymous

        Anonymous - 2008-11-26

        Can only seem to see the stream commenting working.. block commenting/ toggling nope

        what about the option to be able to just text cursor position within a stream comment.. rmb .. an option to remove the comments out from the surrounding code, would be quicker to have it remove the out both sides of commenting out