davidvarga / MBeautifier

MBeautifier is a MATLAB source code formatter, beautifier. It can be used directly in the MATLAB Editor and it is configurable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It beautify inside some strings!

simon-r opened this issue · comments

It beautify inside some strings:

If I use a string like this:
fprintf("------------------- \n");

It will modified to this one (note the space between \ and n):
fprintf(" - - - - - - - - - - - - - - - - - - - \ n");

Hi,

the syntax str = "abc" was introduced in Matlab R2017a - I was not even aware of it.

For now, the classic str = 'abc' syntax works, I will check how difficult is to support the new notation.

Thanks for the card!

It has been implemented. Both cahracter array and string array notation are supported from now.