I have big bilingual project with many subdirectories. In the root directory I have Cargo.toml
, that describes cargo workspace. Half of subdirectories are rust crates and added to the workspace as members. Several subdirectories are also rust crates, but not members of root workspace.
I use VS Code + rust-analyzer. When I open root dir in vscode, it runs rust-analyzer on all members of cargo workspace, but does nothing to subdirectories, which are not members of workspace. Autocompletion, suggestions, navigation - everything doesn't work in those subdirectories.
Can I configure rust-analyzer to analyze not only cargo workspace's members, but also list of several subdirectories (which are not members of the workspace)? Which setting I must tune up?