Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imenu provides too detailed leafs #95

Open
kostafey opened this issue May 3, 2023 · 0 comments
Open

Imenu provides too detailed leafs #95

kostafey opened this issue May 3, 2023 · 0 comments

Comments

@kostafey
Copy link

kostafey commented May 3, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant