mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Resolve inlay hint data
Skip every propery set in inlay hint client resolve capabilities, reducing overall json footprint.
This commit is contained in:
parent
0e002fe5c6
commit
e07fbabcfe
9 changed files with 200 additions and 51 deletions
|
@ -12,6 +12,7 @@ use ide_db::{
|
|||
};
|
||||
use syntax::{AstNode, SyntaxKind::*, TextRange, T};
|
||||
|
||||
use crate::inlay_hints::InlayFieldsToResolve;
|
||||
use crate::{
|
||||
hover::hover_for_definition,
|
||||
inlay_hints::AdjustmentHintsMode,
|
||||
|
@ -125,6 +126,7 @@ impl StaticIndex<'_> {
|
|||
max_length: Some(25),
|
||||
closure_capture_hints: false,
|
||||
closing_brace_hints_min_lines: Some(25),
|
||||
fields_to_resolve: InlayFieldsToResolve::empty(),
|
||||
},
|
||||
file_id,
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue