matlab-formatter-vscode icon indicating copy to clipboard operation
matlab-formatter-vscode copied to clipboard

Non univocal formatting for certain lines

Open LoZack19 opened this issue 5 months ago • 2 comments

This line:

G = 1.4e9 / (s ^ 2 * (s+4.4e4));

Formats into this line:

G = 1.4e9 / (s ^ 2 * (s + 4.4e4));

Which formats in this line:

G = 1.4e9 / (s ^ 2 * (s +4.4e4));

Observe the spacing in the last parenthesis. I think that this behavior is unintended.

LoZack19 avatar Sep 02 '24 15:09 LoZack19