mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Document that addCallArgumentSnippets
requires `addCallParenthesis
This commit is contained in:
parent
5be653d426
commit
d304352407
3 changed files with 3 additions and 1 deletions
|
@ -92,6 +92,7 @@ config_data! {
|
||||||
checkOnSave_overrideCommand: Option<Vec<String>> = "null",
|
checkOnSave_overrideCommand: Option<Vec<String>> = "null",
|
||||||
|
|
||||||
/// Whether to add argument snippets when completing functions.
|
/// Whether to add argument snippets when completing functions.
|
||||||
|
/// Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set.
|
||||||
completion_addCallArgumentSnippets: bool = "true",
|
completion_addCallArgumentSnippets: bool = "true",
|
||||||
/// Whether to add parenthesis when completing functions.
|
/// Whether to add parenthesis when completing functions.
|
||||||
completion_addCallParenthesis: bool = "true",
|
completion_addCallParenthesis: bool = "true",
|
||||||
|
|
|
@ -119,6 +119,7 @@ similar option.
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
Whether to add argument snippets when completing functions.
|
Whether to add argument snippets when completing functions.
|
||||||
|
Only applies when `#rust-analyzer.completion.addCallParenthesis#` is set.
|
||||||
--
|
--
|
||||||
[[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`)::
|
[[rust-analyzer.completion.addCallParenthesis]]rust-analyzer.completion.addCallParenthesis (default: `true`)::
|
||||||
+
|
+
|
||||||
|
|
|
@ -553,7 +553,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rust-analyzer.completion.addCallArgumentSnippets": {
|
"rust-analyzer.completion.addCallArgumentSnippets": {
|
||||||
"markdownDescription": "Whether to add argument snippets when completing functions.",
|
"markdownDescription": "Whether to add argument snippets when completing functions.\nOnly applies when `#rust-analyzer.completion.addCallParenthesis#` is set.",
|
||||||
"default": true,
|
"default": true,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue