mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Clarify rust-analyzer.inlayHints.maxLength
is not a hard guarantee
This commit is contained in:
parent
e7d7cb415a
commit
129d9f7af6
@ -267,6 +267,8 @@ config_data! {
|
||||
inlayHints_lifetimeElisionHints_useParameterNames: bool = false,
|
||||
|
||||
/// Maximum length for inlay hints. Set to null to have an unlimited length.
|
||||
///
|
||||
/// **Note:** This is mostly a hint, and we don't guarantee to strictly follow the limit.
|
||||
inlayHints_maxLength: Option<usize> = Some(25),
|
||||
|
||||
/// Show function parameter name inlay hints at the call site.
|
||||
|
@ -1046,6 +1046,8 @@ Default: `25`
|
||||
|
||||
Maximum length for inlay hints. Set to null to have an unlimited length.
|
||||
|
||||
**Note:** This is mostly a hint, and we don't guarantee to strictly follow the limit.
|
||||
|
||||
|
||||
## rust-analyzer.inlayHints.parameterHints.enable {#inlayHints.parameterHints.enable}
|
||||
|
||||
|
@ -2355,7 +2355,7 @@
|
||||
"title": "Inlay Hints",
|
||||
"properties": {
|
||||
"rust-analyzer.inlayHints.maxLength": {
|
||||
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.",
|
||||
"markdownDescription": "Maximum length for inlay hints. Set to null to have an unlimited length.\n\n**Note:** This is mostly a hint, and we don't guarantee to strictly follow the limit.",
|
||||
"default": 25,
|
||||
"type": [
|
||||
"null",
|
||||
|
Loading…
x
Reference in New Issue
Block a user