scottclowe / matlab-schemer

Apply and save color schemes in MATLAB with ease.
BSD 2-Clause "Simplified" License
1.19k stars 273 forks source link

Support for additional languages #1

Closed scottclowe closed 9 years ago

scottclowe commented 9 years ago

MATLAB supports syntax highlighting for a few other languages, including Java, C++ and XML. Currently these colours are not saved or set by matlab_schemer, but there is no reason why they should not be.

In fact, since these other languages take their main background and text colours from the MATLAB colours, they do not render correctly when the colour scheme is changed to a dark theme.

Since it is desirable for the colours for common syntax such as commands, comments, etc to match across the languages for any given theme, the colours should be assigned with sharing across these.

I don't expect that users who are creating a colour scheme will define the colours for all languages, so by default colours for other languages should be taken from the MATLAB syntax, but it should be possible for users to override them with custom language syntax colours.

scottclowe commented 9 years ago

I have added support for importing, but not yet for exporting.