Skip to content

Imenu provides too detailed leafs #95

Open
@kostafey

Description

@kostafey

After latest lsp update, Imenu provides too deep/detailed leafs.
E.g. for the following Scala class I expect b and b2 as Imenu contents (classes and functions list, not function contents), but c and c2 actually appears.

class A {
    def b: Unit = {
        val c: Int = 0
    }

    def b2: Unit = {
        val c2: Int = 0
    }
}

image

How can I fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions