diff --git a/.gitignore b/.gitignore index 5f15585d6716..d867d08e272c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ # IDE and editor -.vscode .idea - +.vscode +!.vscode/settings.json **/target **/vendor dist/ diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 000000000000..8a903fd1a084 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + "rust-analyzer.cargo.allTargets": true, + "rust-analyzer.cargo.features": "all", + "rust-analyzer.linkedProjects": [ + "${workspaceFolder}/core/Cargo.toml", + "${workspaceFolder}/bindings/python/Cargo.toml", + "${workspaceFolder}/bindings/java/Cargo.toml", + "${workspaceFolder}/bindings/nodejs/Cargo.toml", + ], + "java.compile.nullAnalysis.mode": "automatic" +}