mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Update VS Code settings
This commit is contained in:
parent
f7fcdb6218
commit
2ea703c659
2 changed files with 14 additions and 0 deletions
|
@ -219,6 +219,11 @@ with `self` prefixed to them when inside a method.
|
|||
--
|
||||
Whether to add parenthesis and argument snippets when completing function.
|
||||
--
|
||||
[[rust-analyzer.completion.limit]]rust-analyzer.completion.limit (default: `null`)::
|
||||
+
|
||||
--
|
||||
Maximum number of completions to return. If `None`, the limit is infinite.
|
||||
--
|
||||
[[rust-analyzer.completion.postfix.enable]]rust-analyzer.completion.postfix.enable (default: `true`)::
|
||||
+
|
||||
--
|
||||
|
|
|
@ -697,6 +697,15 @@
|
|||
"Do no snippet completions for callables."
|
||||
]
|
||||
},
|
||||
"rust-analyzer.completion.limit": {
|
||||
"markdownDescription": "Maximum number of completions to return. If `None`, the limit is infinite.",
|
||||
"default": null,
|
||||
"type": [
|
||||
"null",
|
||||
"integer"
|
||||
],
|
||||
"minimum": 0
|
||||
},
|
||||
"rust-analyzer.completion.postfix.enable": {
|
||||
"markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
|
||||
"default": true,
|
||||
|
|
Loading…
Reference in a new issue