diff options
Diffstat (limited to 'editors/code')
-rw-r--r-- | editors/code/package.json | 10 | ||||
-rw-r--r-- | editors/code/src/config.ts | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 5f73c8d83..d39a9b6d8 100644 --- a/editors/code/package.json +++ b/editors/code/package.json | |||
@@ -388,6 +388,16 @@ | |||
388 | "description": "Enable logging of VS Code extensions itself", | 388 | "description": "Enable logging of VS Code extensions itself", |
389 | "type": "boolean", | 389 | "type": "boolean", |
390 | "default": false | 390 | "default": false |
391 | }, | ||
392 | "rust-analyzer.procMacro.enabled": { | ||
393 | "description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.", | ||
394 | "type": "boolean", | ||
395 | "default": false | ||
396 | }, | ||
397 | "rust-analyzer.procMacro.serverPath": { | ||
398 | "description": "Proc macro server path", | ||
399 | "type": "string", | ||
400 | "default": "ra_proc_macro_srv" | ||
391 | } | 401 | } |
392 | } | 402 | } |
393 | }, | 403 | }, |
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 35a05131c..3b2eec8ba 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts | |||
@@ -12,6 +12,7 @@ export class Config { | |||
12 | private readonly requiresReloadOpts = [ | 12 | private readonly requiresReloadOpts = [ |
13 | "serverPath", | 13 | "serverPath", |
14 | "cargo", | 14 | "cargo", |
15 | "procMacro", | ||
15 | "files", | 16 | "files", |
16 | "highlighting", | 17 | "highlighting", |
17 | "updates.channel", | 18 | "updates.channel", |