Details
Description
Is it possible to add Class (e.g. String, Integer, File), Background,
LineNumber and MethodName coloring to Preferences > Groovy > Editor?
I'd really like to see my Groovy code highlighted in color themes like
Vibrant Ink (from TextMate).
The Visual Studio people have a website (http://studiostyl.es/) with
color schemes.
Color themes in Eclipse are possible by coping configuration files
of the workspace (.metadata\.plugins\org.eclipse.core.runtime\.settings).
See: http://stackoverflow.com/questions/96981/color-themes-for-eclipse
Having at least an option to change Class and Background color would
be nice!
--Benjamin
Convert the Visual Studio style wekeroad-ink.vssettings
(http://studiostyl.es/schemes/wekeroad-ink) into a groovy eclipse coloring "theme".
First filter the required color values from wekeroad-ink.vssettings:
I would translate them into something like this:
And finally add the color values as rgb values into
org.codehaus.groovy.eclipse.ui.prefs (<variables> exchanged by rbg values).
(Key-Value-Pairs are in the same order as in the dialog).
groovy.editor.highlight.gjdk.color=<identifier> groovy.editor.highlight.groovykeywords.color=<keyword> groovy.editor.highlight.multilinecomments.color=<comment> groovy.editor.highlight.javatypes.color=<keyword> groovy.editor.highlight.javakeywords.color=<keyword> groovy.editor.highlight.strings.color=<string> groovy.editor.highlight.numbers.color=<number> groovy.editor.groovyDoc.keyword.color=<comment> groovy.editor.groovyDoc.link.color=<comment> groovy.editor.groovyDoc.tag.color=<comment> groovy.editor.highlight.default.color=<plaintext>These additional configuration options are required:
groovy.editor.highlight.usertypes.color=<usertype> groovy.editor.highlight.operators.color=<operator> groovy.editor.highlight.identifiers.color=<identifier> groovy.editor.highlight.comments.color=<comment> groovy.editor.highlight.background.color=<background> groovy.editor.highlight.linenumbers.color=<linenumber>usertypes is our class coloring and identifiers are methods and variable names.
groovy.editor.highlight.gjdk.color=<identifier> groovy.editor.highlight.groovykeywords.color=<keyword> groovy.editor.highlight.multilinecomments.color=<comment> groovy.editor.highlight.javatypes.color=<keyword> groovy.editor.highlight.javakeywords.color=<keyword> groovy.editor.highlight.strings.color=<string> groovy.editor.highlight.numbers.color=<number> groovy.editor.groovyDoc.keyword.color=<comment> groovy.editor.groovyDoc.link.color=<comment> groovy.editor.groovyDoc.tag.color=<comment> groovy.editor.highlight.default.color=<plaintext>groovy.editor.highlight.usertypes.color=<usertype> groovy.editor.highlight.operators.color=<operator> groovy.editor.highlight.identifiers.color=<identifier> groovy.editor.highlight.comments.color=<comment> groovy.editor.highlight.background.color=<background> groovy.editor.highlight.linenumbers.color=<linenumber>