Skip to content

Python + imenu: too many items #254

@emosesPatreon

Description

@emosesPatreon

I'm using MS's python-language-server implementation. This reports back a) all the imports as Modules, and b) within each function, a (Function) item that actually represents the function, and all the local variables within the function. That's way too much information to be useful in the imenu popup.

What I'd actually like is a list of all the classes and defs. So I'd like some way to collapse down the (Function) marker into the name of the function it represents, and also filter out all the noise, either by type or level.

screen shot 2019-03-04 at 3 31 11 pm

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