Sublime Forum

Incorrect indentation after doc-block comment

#1

Hello,

The following problem has been nagging me for quite a while now and it’s becoming frustrating.
I use the following style of comments as dividers between code sections sometimes:

/*******************************************************************************************************************************
 * Some section
 ***/

Edit: I cant get the code to show up correctly. I have one space as the first character on the 2nd and 3rd lines

And the problem is, Sublime consistently indents the lines after that code block with one space too much.
Even if I shorten the lower line of the code block to **/ (e.g. 4 characters), it still puts the next line one space forward.

This happens with copy pasting below blocks like this as well and is ruining my code indentation.

If this is not considered a bug, then any advice on where I could look to “fix” this would be appreciated.

0 Likes