Comment full line


In grammar packages you can define what characters to insert in order to comment a line or a selection of text via the settings file

    'commentStart': 'C '

However this always inserts the comment characters before the first non-whitespace character. For example

       call something()

goes to

       C call something()

This works fine for most grammars. However, as in my example, this does not work for languages like fixed form Fortran where the comment character must be the first character of the line. Is there a way to force the comment character to be inserted into the first column of the line?


Not the way the system is currently designed. But you can open an Issue on to suggest it.