Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'editors/code/package.json')
-rw-r--r--editors/code/package.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index a197b7abd8..fc20597e88 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -2773,6 +2773,31 @@
{
"title": "Proc Macro",
"properties": {
+ "rust-analyzer.procMacro.processes": {
+ "markdownDescription": "Number of proc-macro server processes to spawn.\n\nControls how many independent `proc-macro-srv` processes rust-analyzer\nruns in parallel to handle macro expansion.",
+ "default": 1,
+ "anyOf": [
+ {
+ "type": "number",
+ "minimum": 0,
+ "maximum": 255
+ },
+ {
+ "type": "string",
+ "enum": [
+ "physical"
+ ],
+ "enumDescriptions": [
+ "Use the number of physical cores"
+ ]
+ }
+ ]
+ }
+ }
+ },
+ {
+ "title": "Proc Macro",
+ "properties": {
"rust-analyzer.procMacro.server": {
"markdownDescription": "Internal config, path to proc-macro server executable.",
"default": null,