mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge #8177
8177: Limit the hints size by default r=Veykril a=SomeoneToIgnore Fixes https://github.com/rust-analyzer/rust-analyzer/issues/8175 Fixes https://github.com/rust-analyzer/rust-analyzer/issues/3138 Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
This commit is contained in:
commit
5f9ba2d589
@ -131,8 +131,8 @@ config_data! {
|
|||||||
|
|
||||||
/// Whether to show inlay type hints for method chains.
|
/// Whether to show inlay type hints for method chains.
|
||||||
inlayHints_chainingHints: bool = "true",
|
inlayHints_chainingHints: bool = "true",
|
||||||
/// Maximum length for inlay hints. Default is unlimited.
|
/// Maximum length for inlay hints. Set to null to have an unlimited length.
|
||||||
inlayHints_maxLength: Option<usize> = "null",
|
inlayHints_maxLength: Option<usize> = "25",
|
||||||
/// Whether to show function parameter name inlay hints at the call
|
/// Whether to show function parameter name inlay hints at the call
|
||||||
/// site.
|
/// site.
|
||||||
inlayHints_parameterHints: bool = "true",
|
inlayHints_parameterHints: bool = "true",
|
||||||
|
@ -206,10 +206,10 @@ Use markdown syntax for links in hover.
|
|||||||
--
|
--
|
||||||
Whether to show inlay type hints for method chains.
|
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: `25`)::
|
||||||
+
|
+
|
||||||
--
|
--
|
||||||
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`)::
|
[[rust-analyzer.inlayHints.parameterHints]]rust-analyzer.inlayHints.parameterHints (default: `true`)::
|
||||||
+
|
+
|
||||||
|
@ -625,8 +625,8 @@
|
|||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"rust-analyzer.inlayHints.maxLength": {
|
"rust-analyzer.inlayHints.maxLength": {
|
||||||
"markdownDescription": "Maximum length for inlay hints. Default is unlimited.",
|
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
|
||||||
"default": null,
|
"default": 25,
|
||||||
"type": [
|
"type": [
|
||||||
"null",
|
"null",
|
||||||
"integer"
|
"integer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user