davidvarga / davidvarga/MBeautifier
Indentation in multiline condition.
Open
- Dominant language
- MATLAB
- Stars
- 519
- Forks
- 80
- PR merge metrics
- No merged PRs in 30d
Description
I assume that in the case of a condition, it is better to align to condition on previous line.
I think this code:
```
if a + b > 0 && ...
a * b > 0
a = b;
end
```
better than generated by MBeautifier:
```
if a + b > 0 && ...
a * b > 0
a = b;
end
```
So, this is true for `while` too.
Contributor guide
Assessment
This issue has not been assessed yet.