Formatter option to remove excess parens #18656
Labels
closed-not-planned
Closed as we don't intend to take action on the reported issue
type-enhancement
A request for a change that isn't a bug
I'd like to propose an enhancement to the code formatter: eliminate unnecessary parentheses.
That is, for example:
(i == 0) && (j == 1)
should be rewritten to:
i == 0 && j == 1
That way we can forget about all the operator precedence rules, and on the other hand, we get shorter source files :)
Please CC me if you create an enhancement/bug for this: federico.omoto@gmail.com
////////////////////////////////////////////////////////////////////////////////////
Editor: 1.3.6.release (2014-04-29)
OS: Linux - amd64 (3.14.2-200.fc20.x86_64)
JVM: 1.7.0_55
projects: 3
open dart files: 6
auto-run pub: true
localhost resolves to: 127.0.0.1
mem max/total/free: 1778 / 916 / 783 MB
thread count: 24
index: 374797 relationships in 42550 keys in 480 sources
SDK installed: true
Dartium installed: true
The text was updated successfully, but these errors were encountered: