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

Add a setting to add (or remove) parens in if/elseif/switch/case/while/for statements #73

Open
cszczepaniak opened this issue Sep 26, 2019 · 1 comment
Assignees
Labels

Comments

@cszczepaniak
Copy link

cszczepaniak commented Sep 26, 2019

You can write keyword blocks with or without parentheses:

if (true)
end

vs.

if true
end

A nice feature would be to control whether or not to add parentheses to these expressions and also independently set this for each possible keyword that supports this (if, elseif, switch, case, while, for, etc.)

@davidvarga davidvarga self-assigned this Sep 26, 2019
@davidvarga
Copy link
Owner

davidvarga commented Sep 26, 2019

I'll evaluate the overall difficulties regarding this request, but at the first sight it is doable :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants