Skip to content

Commit

Permalink
chore: Specify rust-analyzer.linkedProjects after noir-repo move (#4922)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
vezenovm authored Mar 4, 2024
1 parent cd1ca2e commit c22b8c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,8 @@
"C_Cpp.vcpkg.enabled": false,
"C_Cpp.default.includePath": [
"barretenberg/cpp/src"
]
],
"rust-analyzer.linkedProjects": [
"noir/noir-repo/Cargo.toml"
]
}

0 comments on commit c22b8c6

Please sign in to comment.