Skip to content

Feature: support finding method declared by metaClass #103

Description

@cosven

IntelliJ IDEA knows that the b method used in a.b() is defined in A.metaClass.b = {}.

class A {
    def a() {
        return 1
    }
}


A.metaClass.b = {
    return 2
}

def a = new A()

println a.a()
println a.b()

It would be nice if the Groovy language server could support this feature.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions