Store inlay hint resolve data
This commit is contained in:
parent
e4b78e322e
commit
3434990b70
4 changed files with 134 additions and 53 deletions
|
@ -754,6 +754,7 @@ message InlayHint {
|
|||
bool padding_left = 4;
|
||||
bool padding_right = 5;
|
||||
InlayHintTooltip tooltip = 6;
|
||||
ResolveState resolve_state = 7;
|
||||
}
|
||||
|
||||
message InlayHintLabel {
|
||||
|
@ -787,6 +788,21 @@ message InlayHintLabelPartTooltip {
|
|||
}
|
||||
}
|
||||
|
||||
message ResolveState {
|
||||
State state = 1;
|
||||
LspResolveState lsp_resolve_state = 2;
|
||||
|
||||
enum State {
|
||||
Resolved = 0;
|
||||
CanResolve = 1;
|
||||
Resolving = 2;
|
||||
}
|
||||
|
||||
message LspResolveState {
|
||||
string value = 1;
|
||||
}
|
||||
}
|
||||
|
||||
message RefreshInlayHints {
|
||||
uint64 project_id = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue