GRECLIPSE
  1. GRECLIPSE
  2. GRECLIPSE-869

Syntax color for class fields is hard coded in the editor

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major 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 :
      0

      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.

        Activity

        Hide
        Andrew Eisenberg added a comment -

        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...".

        Show
        Andrew Eisenberg added a comment - 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...".
        Hide
        Andrew Eisenberg added a comment -

        I'll keep this issue open until I make the setting user configurable.

        For consistency, I think I will use the Java settings.

        Show
        Andrew Eisenberg added a comment - I'll keep this issue open until I make the setting user configurable. For consistency, I think I will use the Java settings.
        Hide
        Andrew Eisenberg added a comment -

        Done. Will be available in next dev build.

        Show
        Andrew Eisenberg added a comment - Done. Will be available in next dev build.

          People

          • Assignee:
            Andrew Eisenberg
            Reporter:
            CÚsar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: