mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Auto merge of #15881 - nokazn:docs/fix-vscode-setting-samples, r=lnicola
docs: fix VS Code setting samples Fix invalid JSONC examples (missing double quotes) in VS Code's `settings.json` . Thank you.
This commit is contained in:
commit
416e9c856a
1 changed files with 2 additions and 2 deletions
|
@ -946,7 +946,7 @@ Or it is possible to specify vars more granularly:
|
|||
"rust-analyzer.runnables.extraEnv": [
|
||||
{
|
||||
// "mask": null, // null mask means that this rule will be applied for all runnables
|
||||
env: {
|
||||
"env": {
|
||||
"APP_ID": "1",
|
||||
"APP_DATA": "asdf"
|
||||
}
|
||||
|
@ -968,7 +968,7 @@ If needed, you can set different values for different platforms:
|
|||
"rust-analyzer.runnables.extraEnv": [
|
||||
{
|
||||
"platform": "win32", // windows only
|
||||
env: {
|
||||
"env": {
|
||||
"APP_DATA": "windows specific data"
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue