MBeautifier
MBeautifier copied to clipboard
Add a setting to add (or remove) parens in if/elseif/switch/case/while/for statements
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.)
I'll evaluate the overall difficulties regarding this request, but at the first sight it is doable :)