Skip to content

No completions for method call expressions inside closures #1338

@gayanper

Description

@gayanper

Is your feature request related to a problem? Please describe.
When trying to complete method call expressions, I don't get the completion items of that method call expression return value such as

spotless {
    java {
        googleJavaFormat().
    }
}

Completion behind googleJavaFormat(). This might only works up to this point after applying the PR #1337

Describe the solution you'd like
I would like to to get the list of completions for the return type of googleJavaFormat() instead of closure. One idea is to add all methods of the return type of googleJavaFormat() into the same closure list generated from GradleServer. May be we might need to change the name of the method then.

Describe alternatives you've considered
None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions