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
It seems to fail because helix passes the repo root folder as LSP rootUri while other editors pass the Rust project root (containing Cargo.toml). By modifying the parameter to pass current working directory (and starting hx from project root) it works as expected.
It's not quite as easy to determine the right folder to use, since you might be in a cargo workspace where there will be a Cargo.toml in the current folder, but there will also be one in the parent folder (and that should be the root) #256 (comment)
Reproduction steps
When working on one specific project (https://github.com/Normation/rudder/tree/master/relay/sources/relayd), which works well in other editors, rust-analyzer seems to fail to load during "Indexing" steps. And then LSP features do not work.
Environment
~/.cache/helix/helix.log
The text was updated successfully, but these errors were encountered: