Rename call info to "signature help"

It is no longer limited to just calls
This commit is contained in:
Jonas Schievink
2022-03-18 20:19:35 +01:00
parent 8c16b07c07
commit 55d2a25123
4 changed files with 29 additions and 27 deletions

View File

@@ -6,11 +6,11 @@ use std::{
};
use ide::{
Annotation, AnnotationKind, Assist, AssistKind, CallInfo, Cancellable, CompletionItem,
Annotation, AnnotationKind, Assist, AssistKind, Cancellable, CompletionItem,
CompletionItemKind, CompletionRelevance, Documentation, FileId, FileRange, FileSystemEdit,
Fold, FoldKind, Highlight, HlMod, HlOperator, HlPunct, HlRange, HlTag, Indel, InlayHint,
InlayKind, Markup, NavigationTarget, ReferenceCategory, RenameError, Runnable, Severity,
SourceChange, StructureNodeKind, SymbolKind, TextEdit, TextRange, TextSize,
SignatureHelp, SourceChange, StructureNodeKind, SymbolKind, TextEdit, TextRange, TextSize,
};
use itertools::Itertools;
use serde_json::to_value;
@@ -336,7 +336,7 @@ fn completion_item(
}
pub(crate) fn signature_help(
call_info: CallInfo,
call_info: SignatureHelp,
concise: bool,
label_offsets: bool,
) -> lsp_types::SignatureHelp {