Menu ▾ ▴

#1650 Single line comments break auto-indent

Undefined
fixed
nobody
None
Bug_Report
2026-10-06
2026-10-04
raynebc
No

When I hit enter at the end of any line containing a single line comment using //, auto-indent doesn't occur. This isn't the case if I hit enter at the end of a line where slash and asterisk are used to add a comment that starts and ends on that same line. I make single line comments all the time so having auto-indent refuse to work so often just means I have to manually tab several times while I'm typing code.

Discussion

  • Miguel Gimenez

    Miguel Gimenez - 2026-10-05

    This is related to [r13921], it needs a way to differentiate one-line comments from block comments.

    EDIT: Only happens if "Smart indent" is checked.

     

    Related

    Commit: [r13921]


    Last edit: Miguel Gimenez 2026-10-06
  • Miguel Gimenez

    Miguel Gimenez - 2026-10-06
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2026-10-06

    Fixed in [r14050].

     
    👍
    1

    Related

    Commit: [r14050]


Log in to post a comment.