mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-25 05:23:12 +00:00
Add config for proc_macro
This commit is contained in:
parent
22e33f308a
commit
a4b0ce07f8
5 changed files with 22 additions and 1 deletions
|
|
@ -388,6 +388,16 @@
|
|||
"description": "Enable logging of VS Code extensions itself",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"rust-analyzer.procMacro.enabled": {
|
||||
"description": "Enable Proc macro support, cargo.loadOutDirsFromCheck must be enabled.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
"rust-analyzer.procMacro.serverPath": {
|
||||
"description": "Proc macro server path",
|
||||
"type": "string",
|
||||
"default": "ra_proc_macro_srv"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ export class Config {
|
|||
private readonly requiresReloadOpts = [
|
||||
"serverPath",
|
||||
"cargo",
|
||||
"procMacro",
|
||||
"files",
|
||||
"highlighting",
|
||||
"updates.channel",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue