mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
Limit the hints size by default
This commit is contained in:
parent
c220b34095
commit
f1e1a2c0a7
@ -131,8 +131,8 @@ config_data! {
|
||||
|
||||
/// Whether to show inlay type hints for method chains.
|
||||
inlayHints_chainingHints: bool = "true",
|
||||
/// Maximum length for inlay hints. Default is unlimited.
|
||||
inlayHints_maxLength: Option<usize> = "null",
|
||||
/// Maximum length for inlay hints. Set to null to have an unlimited length.
|
||||
inlayHints_maxLength: Option<usize> = "20",
|
||||
/// Whether to show function parameter name inlay hints at the call
|
||||
/// site.
|
||||
inlayHints_parameterHints: bool = "true",
|
||||
|
@ -206,10 +206,10 @@ Use markdown syntax for links in hover.
|
||||
--
|
||||
Whether to show inlay type hints for method chains.
|
||||
--
|
||||
[[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `null`)::
|
||||
[[rust-analyzer.inlayHints.maxLength]]rust-analyzer.inlayHints.maxLength (default: `20`)::
|
||||
+
|
||||
--
|
||||
Maximum length for inlay hints. Default is unlimited.
|
||||
Maximum length for inlay hints. Set to null to have an unlimited length.
|
||||
--
|
||||
[[rust-analyzer.inlayHints.parameterHints]]rust-analyzer.inlayHints.parameterHints (default: `true`)::
|
||||
+
|
||||
|
@ -625,8 +625,8 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"rust-analyzer.inlayHints.maxLength": {
|
||||
"markdownDescription": "Maximum length for inlay hints. Default is unlimited.",
|
||||
"default": null,
|
||||
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
|
||||
"default": 20,
|
||||
"type": [
|
||||
"null",
|
||||
"integer"
|
||||
|
Loading…
Reference in New Issue
Block a user