Skip to content

Commit 1a1b5ba

Browse files
committed
chore: Update VSCode settings for rust-analyzer with new check command and project features
1 parent 384ddf9 commit 1a1b5ba

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

contrib/ide/vscode/settings.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
{
2-
"rust-analyzer.assist.importMergeBehaviour": "last"
3-
}
2+
"rust-analyzer.check.command": "clippy",
3+
"rust-analyzer.cargo.features": [
4+
"any",
5+
"all-databases",
6+
"macros",
7+
"migrate",
8+
"all-types",
9+
"runtime-actix-rustls"
10+
],
11+
"rust-analyzer.linkedProjects": [
12+
"./Cargo.toml",
13+
"./sqlx-core/Cargo.toml",
14+
"./sqlx-macros/Cargo.toml"
15+
]
16+
}

0 commit comments

Comments
 (0)