JamesRitchie / language-matlab

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

Scopes are not behaving properly #23

Open tccolestock opened 8 years ago

tccolestock commented 8 years ago

I am trying to use this package, but the syntax highlighting is not operating properly. When I look at the scope at the cursor the output shows "meta.variable.other.valid.matlab" for basically everything. Strings, numeric constants, and conditional statements are the only things that show up properly. Everything else has the same color and displays the same scope.

If it was just an issue with the highlighting I would fix it in my syntax package, but since every element registers as the same scope I don't know if there's much I can do.

I am on Ubuntu 14.04, Atom version 1.7.2.

If there is something on my end I need to fix, please let me know. Thanks in advance.

JimAmuro commented 7 years ago

Same here, Win 10 64bit, Atom 1.15.0. Octave works, but MATLAB doesn't work. Maybe I'll go with octave...

rlivings39 commented 4 years ago

This is fixed in the package https://atom.io/packages/language-matlab-octave. That's still being maintained for MATLAB syntax highlighting fixes. It uses the shared highlighting grammar: https://github.com/mathworks/MATLAB-Language-grammar/