Skip to content

Commit 6d8f770

Browse files
committed
include bento for vscode rust analyzer
1 parent 02338e6 commit 6d8f770

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.vscode/settings.json

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,27 @@
88
"CARGO_TARGET_DIR": "target/analyzer"
99
},
1010
"rust-analyzer.check.command": "clippy",
11-
"rust-analyzer.check.extraArgs": ["--target-dir=target/analyzer"],
11+
"rust-analyzer.check.extraArgs": [
12+
"--target-dir=target/analyzer"
13+
],
1214
"rust-analyzer.linkedProjects": [
1315
"./Cargo.toml",
1416
"./crates/boundless-cli/Cargo.toml",
1517
"./crates/broker/Cargo.toml",
18+
"./bento/Cargo.toml",
1619
// "./crates/guest/assessor/assessor-guest/Cargo.toml",
1720
// "./crates/guest/util/echo/Cargo.toml",
1821
// "./crates/guest/util/identity/Cargo.toml",
1922
// "./examples/counter/Cargo.toml",
2023
// "./examples/smart-contract-requestor/Cargo.toml",
2124
// "./examples/counter-with-callback/Cargo.toml"
2225
],
23-
"rust-analyzer.files.exclude": ["./lib/", "./contracts/out/"],
26+
"rust-analyzer.files.exclude": [
27+
// Exclude solidity artifacts and dependencies
28+
"./lib/",
29+
"./contracts/out/",
30+
"./out/",
31+
],
2432
"[javascript][javascriptreact][typescript][typescriptreact][github-actions-workflow][json][css]": {
2533
"editor.defaultFormatter": "biomejs.biome",
2634
"editor.codeActionsOnSave": {
@@ -32,11 +40,13 @@
3240
"biome.rename": true,
3341
"biome.enabled": true,
3442
"biome.lspBin": "documentation/node_modules/.bin/biome",
35-
"cSpell.words": ["offchain"],
43+
"cSpell.words": [
44+
"offchain"
45+
],
3646
"[typescript]": {
3747
"editor.defaultFormatter": "vscode.typescript-language-features"
3848
},
3949
"[json]": {
4050
"editor.defaultFormatter": "vscode.json-language-features"
4151
}
42-
}
52+
}

0 commit comments

Comments
 (0)