davidvarga / davidvarga/MBeautifier
Add a setting to add (or remove) parens in if/elseif/switch/case/while/for statements
Open
new rule
- Dominant language
- MATLAB
- Stars
- 519
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
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.)
Contributor guide
Assessment
This issue has not been assessed yet.