Allow clients to configure the global workspace search limit

This commit is contained in:
Paul Horn
2021-11-18 17:30:36 +01:00
parent cfa26c3ac3
commit 553bb7f50a
4 changed files with 29 additions and 8 deletions

View File

@@ -929,6 +929,12 @@
"Search for all symbols kinds"
]
},
"rust-analyzer.workspace.symbol.search.limit": {
"markdownDescription": "Limits the number of items returned from a workspace symbol search (Defaults to 128).\nSome clients like vs-code issue new searches on result filtering and don't require all results to be returned in the initial search.\nOther clients requires all results upfront and might require a higher limit.",
"default": 128,
"type": "integer",
"minimum": 0
},
"$generated-end": {}
}
},