make indent inside label only in top level code. No indent inside nested code blocks.
change ahk++.formatter.indentCodeAfterLabel description in settings.
Indented code after Hotkey and Label needed only in top level hierarchy. Inside nested code blocks indent not needed. Optional behavior may be like in Switch-Case construction, where Case CaseValue: label has lower indent then code.
Switch [SwitchValue]
{
Case CaseValue1: ; <-- lower indent
Statements1
Case CaseValue2a, CaseValue2b:
Statements2
Default:
Statements3
}
Closes #432.
Changes proposed in this pull request:
ahk++.formatter.indentCodeAfterLabel
description in settings.Indented code after
Hotkey
andLabel
needed only in top level hierarchy. Inside nested code blocks indent not needed. Optional behavior may be like inSwitch-Case
construction, whereCase CaseValue:
label has lower indent then code.Notifying @mark-wiemer