Skip to content

Commit 08c103c

Browse files
committed
workspace: add .vscode settings
This configures the VSCode rust-analyzer plugin to provide hints under 'sources/'. Without this configuration, rust-analyzer is tripped up by `buildsys` build scripts under 'packages/'. We also insert a final newline in text files to ensure POSIX compliance.
1 parent 58a402d commit 08c103c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.vscode/settings.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"rust-analyzer.linkedProjects": [
3+
"sources/Cargo.toml"
4+
],
5+
"files.insertFinalNewline": true
6+
}

0 commit comments

Comments
 (0)