How Do I Stop Apparent Automatic Indentation After a Line Comment

When using a line comment CLion places a space on the following line.  How do I stop this from happening?

 

For example:

Notice the apparent space on member 10 due to the line comment.  

If I highlight the above text and copy it though, this is what I get:

{"template_" + IDENTIFIER_REGEX, TokenType::TypeTemplate},
    // Sentinel: Do not remove
{"sentinel", TokenType::Sentinel},

What I want to have everything line up to the left with no added indentation in both the editor view as well as when I copy the text.

The desired format is:

{"template_" + IDENTIFIER_REGEX, TokenType::TypeTemplate},
// Sentinel: Do not remove
{"sentinel", TokenType::Sentinel}

and of course it is desired that alignment is maintained in the editor as well.

 

0

Please sign in to leave a comment.