JamesRitchie / language-matlab

MATLAB/Octave language support for Atom
15 stars 9 forks source link

It doesn't seem to support sring data type using " #32

Open kouichi-c-nakamura opened 5 years ago

kouichi-c-nakamura commented 5 years ago

From R2016b, MATLAB supports string data type such as ["boo", "who" , "Woo"]

However, apparently this is not supported by language-matlab and all string data with " signs are highligheted as illegal ones.

rlivings39 commented 5 years ago

Edit Fix link

As an FYI MathWorks published an updated TextMate grammar that supports strings, addresses some issues with the original TextMate grammar, etc.

One major difference is that grammar doesn't do highlighting of functions. Playing with Atom a bit I don't see such highlighting present but I'm not a frequent Atom user. If that is important, the vscode-matlab extension adds these in using an injection grammar.

kouichi-c-nakamura commented 5 years ago

Thanks. But the URL link https://github.com/mathworks/MATLAB-Language- results in 404 error. Did you mean https://github.com/mathworks/MATLAB-Language-grammar?

rlivings39 commented 5 years ago

Yep. Updated link

rlivings39 commented 5 years ago

The Atom package language-matlab-octave was recently updated to use the grammar published by MathWorks that addresses this syntax highlighting issue.