MBeautifier icon indicating copy to clipboard operation
MBeautifier copied to clipboard

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

Open cszczepaniak opened this issue 4 years ago • 1 comments

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.)

cszczepaniak avatar Sep 26 '19 17:09 cszczepaniak

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

davidvarga avatar Sep 26 '19 18:09 davidvarga