-
Notifications
You must be signed in to change notification settings - Fork 1.7k
No hover over hints, Go to definition does not work! #12172
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
Comments
I suggest disabling Do you have any errors in Output / Rust Analyzer Language Server? |
Ok I have removed all three rust-analyzer settings in vscode settings.json |
Is your project public? Does it still happen in an empty project? |
But yeah, hovering over hints isn't working yet: #11701. |
@inicola What do you mean by empty project? In my private repo, I just disabled RA, shut down VSCode, started it again, then enable RA. RA completed checking the code with no more icon spinning. Then still Go To Definition is not working... |
The output of
It's can be disabled, but we run From what I remember, the Polkadot ecosystem tends to use build scripts in creative ways, which aren't always helpful when you want fast builds. But after loading the project, features more or less work: |
@lnicola thank you for your quick reply. After installing rust-analyzer pre-release v0.3.1047, type hints worked, hover over hints worked. when I pressed control key when my mouse cursor was over a function, the underscore appeared. Then when I mouse clicked on it, the Go To Definition was stuck/not working... and after that, the hover over hints did not work anymore... my computer is a little old... This is very weird... What do you suggest? Overriding Polkadot's build scripts ? Thanks |
Does that happen in You can also keep looking for errors in the
That might speed things up, but will probably break some features. Did you disable |
@lnicola yes, I was in
The hover over hint worked when my cursor was above Okay... after adding this |
Yeah, that works for me and goes to The problem with |
I don't know what happened but
now after code checking is completed,
there is no inline types, no hover-over hints(showing only "Loading...")
Go to definition does not work!
rust-analyzer: stable release v0.2.1040 and pre-release v0.3.1043
VS Code: 1.67.0
rustc version: rustc 1.59.0 (9d1b2106e 2022-02-23)
relevant settings in vscode settings.json:
"rust-analyzer.trace.extension": true,
"rust-analyzer.procMacro.enable": true,
"rust-analyzer.inlayHints.parameterHints": true,
The text was updated successfully, but these errors were encountered: