Skip to content

Improve code hover and select for Groovy property referenced from Java source #888

@eric-milles

Description

@eric-milles

Consider the following:

Pogo.groovy

class Pogo {
  String string
}

Main.java

class Main {
  void meth() {
    new Pogo().getString()
  }
}

Java Editor: Code hover (F2) and code select (F3 or Ctrl+click) over "getString" refer to class "Pogo" and not property "value". This makes quick determination of expression type a pain.

image

Same situation from a Groovy source -- this is the expected behavior for the Java editor:

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions