sub_dir/Cargo.toml
(Cargo.toml is not in repository root directory)rust-analyzer.linkedProjects
by each environment...I want to avoid the configuration by machine. Do you know anything workaround?
to .vscode/settings.json
, should add the path to Cargo.toml, like this.
// correct
"rust-analyzer.linkedProjects": [
"relateive/path/to/the/project/directory/Cargo.toml",
]
// incorrect
"rust-analyzer.linkedProjects": [
"relateive/path/to/the/project/directory",
]