Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3374

Cant Open Declaration For Anonymous Inner Class Parent Class/Interface

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.0.RELEASE
    • Fix Version/s: 3.3.0.M2
    • Component/s: EDITING, GRAILS
    • Labels:
      None
    • Environment:
      OS X 10.8.3
      Groovy-Eclipse 2.8.0.xx-20130509-1400-e42

      Description

      When I Cmd+click on a class name normally that will Open Declaration for that type. That doesn't appear to be working for the parent of an anonymous inner type. For code like that shown below I cannot Cmd+click on Comparable. When I hover I don't get the underlined name that suggests that Comparable can be clicked and Cmd+clicking it doesn't do anything apparent.

      someScript.groovy
      obj = new Comparable() {
          int compareTo(other) {
              42
          }    
      }
      

        Attachments

          Activity

            People

            Assignee:
            aeisenberg Andrew Eisenberg
            Reporter:
            jbrown Jeff Brown
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: