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

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

Open
marcelarie opened this issue Apr 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@marcelarie
Copy link

marcelarie commented Apr 26, 2024

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.

@marcelarie marcelarie added the enhancement New feature or request label Apr 26, 2024
@Bekaboo
Copy link
Owner

Bekaboo commented Apr 27, 2024

Thanks for the suggestion! Will consider adding this feature if more people request it.

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

No branches or pull requests

2 participants