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

Improve the fix from #183 #196

Open
gustason opened this issue Sep 13, 2024 · 1 comment
Open

Improve the fix from #183 #196

gustason opened this issue Sep 13, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@gustason
Copy link
Collaborator

gustason commented Sep 13, 2024

For example,

/* formatterSettingsOverride */
/*  { "AblFormatter.blockFormatting": true}*/

do transaction: repeat: define variable a as integer no-undo.
       end. end.

formats as this:

/* formatterSettingsOverride */
/*  { "AblFormatter.blockFormatting": true}*/

do transaction:
    repeat:
                        define variable a as integer no-undo.
                    end. 
end.

Also,

class crazyClass: 
    method public static int crazyMethod(wow as char): define var something as int no-undo initial ?.
        return something.
    end.
end class.

formats to this

class crazyClass: 
    method public static int crazyMethod(wow as char): define var something as int no-undo initial ?.
    return something.
end.
end class.
@PauliusKu
Copy link
Collaborator

crazy

@gustason gustason added the enhancement New feature or request label Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants