Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1.0Release
-
Fix Version/s: 2.1.1Release
-
Component/s: Editor
-
Labels:None
-
Environment:OSX Snow Leopard/Windows 7. STS 2.5.0.RELEASE
-
Number of attachments :
Description
Syntax coloring for class fields is hard coded to blue. For example
class Something{
String name
String nickname
}
In this case name and nickname syntax color appears as blue and there is no way to change it. It was working fine before (STS 2.5.0.RC1) by following the java syntax colors but now it isn't and there is no way to fix it, not even changing the colors in the java syntax color preferences.
It is really frustrating as I was using a dark background and with this bug I can't because it makes my code unreadable. I will keep using RC1 for the time being.
It looks like you somehow picked up the snapshot build of Groovy-Eclipse. This feature was added post-2.1.0.
I'd recommend that you uninstall this version of Groovy-Eclipse and reinstall from this update site:
http://dist.springsource.org/release/GRECLIPSE/e3.6/
You may also need to uninstall/reinstall the grails tooling.
If you don't want to go that direction, then you can go to Preferences -> Groovy and uncheck "Underline staticly unknown references...".