Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2ea703c

Browse files
committed
Update VS Code settings
1 parent f7fcdb6 commit 2ea703c

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/user/generated_config.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,11 @@ with `self` prefixed to them when inside a method.
219219
--
220220
Whether to add parenthesis and argument snippets when completing function.
221221
--
222+
[[rust-analyzer.completion.limit]]rust-analyzer.completion.limit (default: `null`)::
223+
+
224+
--
225+
Maximum number of completions to return. If `None`, the limit is infinite.
226+
--
222227
[[rust-analyzer.completion.postfix.enable]]rust-analyzer.completion.postfix.enable (default: `true`)::
223228
+
224229
--

editors/code/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,15 @@
697697
"Do no snippet completions for callables."
698698
]
699699
},
700+
"rust-analyzer.completion.limit": {
701+
"markdownDescription": "Maximum number of completions to return. If `None`, the limit is infinite.",
702+
"default": null,
703+
"type": [
704+
"null",
705+
"integer"
706+
],
707+
"minimum": 0
708+
},
700709
"rust-analyzer.completion.postfix.enable": {
701710
"markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
702711
"default": true,

0 commit comments

Comments
 (0)