Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No indent for "one command code" after IfMsgBox #290

Closed
kyklish opened this issue Dec 20, 2022 · 0 comments · Fixed by #307
Closed

No indent for "one command code" after IfMsgBox #290

kyklish opened this issue Dec 20, 2022 · 0 comments · Fixed by #307
Assignees
Labels
bug something isn't working formatter code formatter issues

Comments

@kyklish
Copy link
Contributor

kyklish commented Dec 20, 2022

Description

No indent for "one command code" after IfMsgBox .

Expected formatted output snippet

MsgBox, 4, , Would you like to continue?, 5  ; 5-second timeout.
IfMsgBox, No
    Return  ; User pressed the "No" button.
IfMsgBox, Timeout
    Return ; i.e. Assume "No" if it timed out.
; Otherwise, continue:
; ...

Actual formatted output snippet

MsgBox, 4, , Would you like to continue?, 5  ; 5-second timeout.
IfMsgBox, No
Return  ; User pressed the "No" button.
IfMsgBox, Timeout
Return ; i.e. Assume "No" if it timed out.
; Otherwise, continue:
; ...
@kyklish kyklish added bug something isn't working formatter code formatter issues labels Dec 20, 2022
mark-wiemer pushed a commit that referenced this issue Jan 19, 2023
@mark-wiemer mark-wiemer mentioned this issue Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working formatter code formatter issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants