Anyone facing issue of not able to jump to definition for external crates "sometimes?"
lsp-workspace-restart, I can go to definition of newly added crate (xyz)
is anyone else facing similar issue? can we make it work without lsp-workspace-restart? NOTE: it works with Go + lsp-mode just fine, without any restart.
To me it looks like need to add some hook on every time you add crate via cargo!
Any help is appreciated! thanks :)
Yes, that's normal :-)
See https://github.com/rust-analyzer/rust-analyzer/issues/3715 and the related issues
You need to restart the server after changing the project structure.
ah. I see. thanks for pointing it out! :+1: