Update VS Code settings

This commit is contained in:
Maria José Solano 2023-01-19 18:34:19 -08:00
parent f7fcdb6218
commit 2ea703c659
2 changed files with 14 additions and 0 deletions

View file

@ -219,6 +219,11 @@ with `self` prefixed to them when inside a method.
-- --
Whether to add parenthesis and argument snippets when completing function. 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`):: [[rust-analyzer.completion.postfix.enable]]rust-analyzer.completion.postfix.enable (default: `true`)::
+ +
-- --

View file

@ -697,6 +697,15 @@
"Do no snippet completions for callables." "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": { "rust-analyzer.completion.postfix.enable": {
"markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.", "markdownDescription": "Whether to show postfix snippets like `dbg`, `if`, `not`, etc.",
"default": true, "default": true,