Rust-analyzer no hover info in vscode

See title. I've restarted vscode, deactivated all other extensions, and it's still not showing any information when I hover over a variable or an error. I am getting "Problems" through rust-analyzer so the extension is active and working, just not for hover stuff. I also made sure hover docs are active in the config.

You can try to clear the target dir (cargo clean) followed by restarting Vs Code. Fixed a similar problem for me, where rust analyzer displayed no errors at all.

I had editor.hover.enabled unchecked somehow. Didn't know to look for that specifically. Rust>hover:documentation was checked so I thought I was good. Thanks.

1 Like