mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge pull request #19190 from BenjaminBrienen/patch-4
Update editor_features.md
This commit is contained in:
commit
8de928d028
@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user