Merge pull request #19190 from BenjaminBrienen/patch-4

Update editor_features.md
This commit is contained in:
Laurențiu Nicola 2025-02-20 16:20:35 +00:00 committed by GitHub
commit 8de928d028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,5 @@
# Editor Features # Editor Features
## VS Code ## VS Code
### Color configurations ### Color configurations
@ -118,7 +117,7 @@ Or it is possible to specify vars more granularly:
"rust-analyzer.runnables.extraEnv": [ "rust-analyzer.runnables.extraEnv": [
{ {
// "mask": null, // null mask means that this rule will be applied for all runnables // "mask": null, // null mask means that this rule will be applied for all runnables
env: { "env": {
"APP_ID": "1", "APP_ID": "1",
"APP_DATA": "asdf" "APP_DATA": "asdf"
} }
@ -145,7 +144,7 @@ If needed, you can set different values for different platforms:
"rust-analyzer.runnables.extraEnv": [ "rust-analyzer.runnables.extraEnv": [
{ {
"platform": "win32", // windows only "platform": "win32", // windows only
env: { "env": {
"APP_DATA": "windows specific data" "APP_DATA": "windows specific data"
} }
}, },