You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 3, 2024. It is now read-only.
Whenever I am jumping to definition outside of current workspace, rust-analyzer seems to start a new instance on the jumped file's location, while leaving the current instance hanging until it has started.
This is an issue because rust-analyzer is extremely slow to start on large code bases, and I sometimes lose the LSP for ~1 minute.
It happens when I jump to definition of something in std (Default, or Vec for example), or whenever I jump to a dependency (inside or outside my monorepo workspace)
In VSCode, I do not have the issue. I am not sure how to troubleshoot the problem, maybe I am missing some config file ?
Is it possible to have RA run as single file mode for any code that is outside the scope of the initial root directory ?
Or to blacklist some paths (std lib and cargo deps mainly) and prevent them from starting a full steam rust-analyzer ?
ytaras, abusch, CliffWilson98, RyanCarrier, Miaxos and 2 more