Sintaxis Scala Destacando en Eclipse
-
10-12-2019 - |
Pregunta
Estoy usando Eclipse y el plugin Scala para escribir código Scala.El editor parece tener opciones de resaltado de sintaxis limitada, por ejemplo, me gustaría cambiar el formato de las variables (me gustan los azules) y el método defs.
Sé que hay algunos otros plugins de destacatores, sino a EclipsEscolorer, pero todos parecen perder características del editor Scala (u otro Langauges) como Auto Completa y Sugerencias.
¿Hay algún complemento o una forma en que pueda modificar el complemento SCALA para obtener el control más fino sobre las opciones de coloración / formato de sintaxis de Scalax?
Solución
Some of this is being worked on. The nightly build page has 'Semantic Highlighting' (making variables blue etc) marked as 'coming soon.
Also the current roadmap may help with when a released version on the eclipse-scala ide.
(As 'coming soon' is very date dependent then 'today' is 10/March/12 )
Otros consejos
The editor that comes with the Play Framework Eclipse plugin has syntax highlighting customizability: http://scala-ide.org/download/current.html
You can go to Preferences -> Scala -> Syntax Coloring to set the different colors.
Have you tried Eclipse Color Theme?
Scala auto complete, etc. unaffected ;-)
A slightly tweaked Wombat theme in Scala works well for me (also: Aptana Eclipse plugin helps immensely with html/css/erb, etc.)