davidvarga / davidvarga/MBeautifier

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

Aperta
#73 1 commento 0 reazioni 1 assegnatario Rivendicata da @davidvarga Vedi su GitHub
new rule
Lingua principale
MATLAB
Stelle
519
Fork
80
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.