Skip to content

Buffertag extension: print methods with class reference #195

@IngoMeyer441

Description

@IngoMeyer441

I'm a python programmer and often use the really great ctrlp buffertag extension to navigate between methods or classes quickly. However, if I search for a method with a frequent name in the current file (e.g. __init__) I get something similar to this as a result:

__init__    member|5:file.py|342|     def __init__(self, path, sourcefilepath=None):
__init__    member|5:file.py|265|     def __init__(self, path, sourcefilepath=None):
__init__    member|5:file.py|41|     def __init__(self, message, cause=None):
__init__    member|5:file.py|200|     def __init__(self, path):
__init__    member|5:file.py|128|     def __init__(self, path):
__init__    member|5:file.py|60|     def __init__(self, path):

The output is correct but it is hard to figure out which constructor is the one I'm looking for if I don't remember the parameter names. In that case, It would be helpfull to print the class of the constructor as additional information.

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