VScode extension adding support for IE and Fallout syntaxes.
User avatar
Site Admin
Posts: 157
Joined: Mon Nov 21, 2016 9:13 am

"I have a suggestion for syntax highlighting"

Post by Magus » Mon Dec 17, 2018 4:21 pm

Syntax highlighting in MLS is modeled after common programming languages. Generally, colors should match what one would expect (I hope). However, there are only so many distinctive colors/scopes, which means some compromises could've been made for better readability. And of course, it's not perfect yet, it should and will be improved.

If you think there's an issue with highlighting, it probably falls into one of these cases:
1) One or a few isolated words are colored wrong or missing color.
2) Color of a certain class of words is misleading or missing (when compared to common programming languages).
3) You just don't like some colors or think there's too much highlighting, or on the other hand, not enough. Or some other general idea.

1) is most probably a bug. You can report it directly to github, preferably with screenshots.

2) and 3), however, could be a matter of opinion. And it's not feasible to flip colors back and forth every time someone has an opinion about the overall scheme. Because of that, I'd like to at least try to reach some general consensus on the matter before making changes. So please post your thoughts on the forum for everyone to discuss.
And it's best to actually use the current scheme for a couple of days before jumping in with suggestions, maybe it'll grow on you.

Edit: to get an idea about available highlighting features, refer to naming conventions and theme editor.
Please do not PM or email me about my mods and projects. Use forums. Also, see our talk channels.