From c22b8c67483c5f28afd4e95b0a6b0f794224be79 Mon Sep 17 00:00:00 2001 From: Maxim Vezenov Date: Mon, 4 Mar 2024 17:59:31 +0000 Subject: [PATCH] chore: Specify rust-analyzer.linkedProjects after noir-repo move (#4922) rust-analyzer only is working when `noir-repo` is specified as the root project in VS code. rust-analyzer should work when `aztec-packages` is specified as the root. Sometimes when working on Noir we want to have `aztec-packages` as our root as we may be working across the Noir/barretenberg boundary. Now that `noir` is a subdirectory under `noir/noir-repo` we must specify it is a linked project in the VS code settings. --- .vscode/settings.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index b7aa953af51..4d3812210fd 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -155,5 +155,8 @@ "C_Cpp.vcpkg.enabled": false, "C_Cpp.default.includePath": [ "barretenberg/cpp/src" - ] + ], + "rust-analyzer.linkedProjects": [ + "noir/noir-repo/Cargo.toml" + ] }