diff options
| author | jyn <github@jyn.dev> | 2023-05-26 12:08:58 -0500 |
|---|---|---|
| committer | jyn <github@jyn.dev> | 2023-05-26 12:08:58 -0500 |
| commit | 8458c6adb131345dbf0b48e23c8d220dc41c19fd (patch) | |
| tree | d8ca0b046e045cbb205194c36e390099fc26d4c8 /src/etc/rust_analyzer_settings.json | |
| parent | 0004b3b984b19646c1f78b09ba497b7bd6e882c1 (diff) | |
| download | rust-8458c6adb131345dbf0b48e23c8d220dc41c19fd.tar.gz rust-8458c6adb131345dbf0b48e23c8d220dc41c19fd.zip | |
Add other workspaces to `linkedProjects` in `rust_analyzer_settings.json`
This makes go-to-definition, etc. work in cg_clif, cg_gcc, rust-analyzer, and src/tools/x.
Diffstat (limited to 'src/etc/rust_analyzer_settings.json')
| -rw-r--r-- | src/etc/rust_analyzer_settings.json | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/etc/rust_analyzer_settings.json b/src/etc/rust_analyzer_settings.json index dd01bfaa725..d9c4645f0b3 100644 --- a/src/etc/rust_analyzer_settings.json +++ b/src/etc/rust_analyzer_settings.json @@ -7,7 +7,14 @@ "check", "--json-output" ], - "rust-analyzer.linkedProjects": ["src/bootstrap/Cargo.toml", "Cargo.toml"], + "rust-analyzer.linkedProjects": [ + "Cargo.toml", + "src/tools/x/Cargo.toml", + "src/bootstrap/Cargo.toml", + "src/tools/rust-analyzer/Cargo.toml", + "compiler/rustc_codegen_cranelift/Cargo.toml", + "compiler/rustc_codegen_gcc/Cargo.toml" + ], "rust-analyzer.rustfmt.overrideCommand": [ "./build/host/rustfmt/bin/rustfmt", "--edition=2021" |
