Skip to content

more advanced reference queries #19452

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

Open
oriongonza opened this issue Mar 26, 2025 · 1 comment
Open

more advanced reference queries #19452

oriongonza opened this issue Mar 26, 2025 · 1 comment
Labels
C-feature Category: feature request S-unactionable Issue requires feedback, design decisions or is blocked on other work

Comments

@oriongonza
Copy link

This would be an LSP extension, of course.

Rustdoc allows for really nice queries, like -> MyTy that returns all functions that return that type.
I'd love to have that in my editor, I could configure it so that I can see all functions that return this type with a click.

Likewise for all functions that take this as an argument, etc.

Rustdoc seems to have a DSL for this, could r-a have a similar thing?

@oriongonza oriongonza added the C-feature Category: feature request label Mar 26, 2025
@ChayimFriedman2
Copy link
Contributor

I would definitely love to provide more comprehensive search. It doesn't need to be a separate feature, it can be the normal "workspace symbols". Unfortunately, VSCode peculiars prevent that; this is tracked at microsoft/language-server-protocol#2091.

@ChayimFriedman2 ChayimFriedman2 added the S-unactionable Issue requires feedback, design decisions or is blocked on other work label Apr 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature request S-unactionable Issue requires feedback, design decisions or is blocked on other work
Projects
None yet
Development

No branches or pull requests

2 participants