Skip to content

Indenter increments indentation on each indent, when line-number or line-label followed by statement(s) #3199

Open
@ThunderFrame

Description

@ThunderFrame

My tab-size is set to 2.

Initial code:

Sub foo()
BB: MsgBox "Too much ZERO"
10: MsgBox "Too much ZERO"
20 CC: MsgBox "Too much ZERO"
End Sub

After first, second and third indents:

Sub foo()
BB:   MsgBox "Too much ZERO"
10:   MsgBox "Too much ZERO"
20 CC: MsgBox "Too much ZERO"
End Sub

Sub foo()
BB:     MsgBox "Too much ZERO"
10:     MsgBox "Too much ZERO"
20 CC: MsgBox "Too much ZERO"
End Sub

Sub foo()
BB:       MsgBox "Too much ZERO"
10:       MsgBox "Too much ZERO"
20 CC: MsgBox "Too much ZERO"
End Sub

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIdentifies work items for known bugsedge-caseMarks a bug as an edge case that would be nice to fix, but that likely doesn't affect normal use.feature-smart-indenter

    Type

    No type

    Projects

    Status

    Backlog | Indenter

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions