Skip to content

[Feature]: Display line number of treesitter and lsp symbols in dropbar #154

@marcelarie

Description

@marcelarie

Problem

Can't know in what line number a dropbar item is to access quickly.

Expected behavior

To show the line start number (and maybe give the option to show the end line number for functions) next to the item.

Example:
[f] -> folder icon
[fi] -> file icon
[fu] -> function icon

[f] src > [f] components > [f] ClientConditions > [fi] ClientConditions.tsx > [fu] ClientConditions(300,321) > π flexDirection(313)
                           v end line number
[fu] ClientConditions(300,321) 
                       ^ start line number

 π flexDirection(313)
                   ^ only start line number

This could be activated in the config, given that it might not be a default for everyone, but I think it is really useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions