Skip to content

Feature: support finding method declared by metaClass #103

@cosven

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.

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