modelica-tools / atom-language-modelica

Modelica language support for the atom editor
https://atom.io/packages/language-modelica
Other
8 stars 4 forks source link

string, docstring, annotation and comment #21

Open thorade opened 8 years ago

thorade commented 8 years ago

We have strings, docstrings, annotations and comments. Strings and docstrings currently have the same colour, comments and annotations currently have the same colour. One could discuss about that, because they all influence the simulation on a different level.

Sample code with current master: http://bit.ly/1W3jYJC Same sample with Raphaels grammar: http://bit.ly/1LlGwNF

thorade commented 8 years ago

Another difference I just noted: With Raphael's grammar, keywords input and Real have a different colour, with Boris' grammar they have the same colour. What is preferable?

bilderbuchi commented 8 years ago

I think the latter former (because Real is a type, not e.g. an operator, it should look different), but no storng feelings and I guess it's down to personal preference. edit: fixed