You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given an open editor page with only one statement and no newline, I'd expect EndingNewLineCount=1 to add a newline at the end of the file (please correct me if that's not what it does).
I'm using the default settings.xml in a fresh clone, in a new (no preferences changed) R2021b installation.
So the input is:
a = 1;
but after running MBeautify.formatCurrentEditorPage() nothing changes.
When the input is:
a = 1;
it is left as-is, which is ok.
And when the input is
a = 1;
one newline is removed which is also ok.
The text was updated successfully, but these errors were encountered:
Given an open editor page with only one statement and no newline, I'd expect
EndingNewLineCount=1
to add a newline at the end of the file (please correct me if that's not what it does).I'm using the default settings.xml in a fresh clone, in a new (no preferences changed) R2021b installation.
So the input is:
but after running
MBeautify.formatCurrentEditorPage()
nothing changes.When the input is:
it is left as-is, which is ok.
And when the input is
one newline is removed which is also ok.
The text was updated successfully, but these errors were encountered: