Open SundermannC opened 1 year ago
I already started to silently implement this. You can find the original commit here which was merged in this commit.
It's way more work than anticipated.
Under uvl-lsp/editors/eclipse
you will find the plugin project that you can import and improve. I have not documented any of this, since it does not work perfectly. In summary it's some kind of parser (which makes it unnecessarily complicated for simple Syntax Highlighting) and you can apply different colors to some tokens.
In theory, you should be able to export this plugin (de.uulm.sp.uvl that is) and import it via Help->Install new software.. -> file (...)
or simply run it from eclipse itself for debugging purposes.
It should look like this:
Plugin Development for Eclipse is another topic for itself.
Currently, the integration of UVLS in Eclipse is very limited and does not support syntax highlighting: https://github.com/Universal-Variability-Language/uvl-lsp/tree/master/editors/eclipse
As Eclipse is often used for feature modelling (e.g., for FeatureIDE which supports UVL), full support for Eclipse would be valuable. @TobiUUlm suggested using developing a custom editor with https://www.vogella.com/tutorials/EclipseEditors/article.html