eckon/treesitter-current-functions

Show parameter in the selector

Closed this issue · 2 comments

eckon commented

Taken from the old TODO.md

Generally the selector (e.g. fzf) only shows the class and function name, it could improve readability when also showing the parameters. This is just a small improvement and might not even benefit anyone.

eckon commented

Additionally seeing a preview of the location could be nice (similar to how fzf, telescope handle jumping to files or search results)

eckon commented

After implementing a preview in telescope #13 I would say this is not really needed anymore.
For fzf this might still be relevant, but then adding a preview to it might make more sense (as it also shows types, part of the body etc etc.

The only real reason I see for this feature is, to be able to search via the parameters or wanting to parse a detailed representation of all function like functions, which was not the initial reason for this ticket.