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

Jump to definition does nothing with cursor on *= #12810

Closed
WhyNotHugo opened this issue Jul 18, 2022 · 1 comment · Fixed by #12948
Closed

Jump to definition does nothing with cursor on *= #12810

WhyNotHugo opened this issue Jul 18, 2022 · 1 comment · Fixed by #12948
Assignees
Labels
A-ide general IDE features C-feature Category: feature request

Comments

@WhyNotHugo
Copy link

When the cursor is on operators like +, +=, *=, using the LSP action "jump to definition" does nothing.

It should jump to the definition of impl Add<X> for Y, X and Y depending on the current context too.

This is more of a feature request than a bug; I don't think any other LSP does this, but I it seems perfectly feasible -- especially where Rust where I'm sure this can be inferred.

@Veykril Veykril added C-feature Category: feature request A-ide general IDE features labels Jul 18, 2022
@Veykril
Copy link
Member

Veykril commented Jul 18, 2022

Hover should ideally also work here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ide general IDE features C-feature Category: feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants