mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-16 23:36:13 +00:00
feat: Completed the client side implementation of rust-analyzer/hoverRange
This commit is contained in:
parent
8ca3bb8fcd
commit
18644720eb
7 changed files with 129 additions and 30 deletions
|
@ -19,6 +19,13 @@ export const serverStatus = new lc.NotificationType<ServerStatusParams>("experim
|
|||
|
||||
export const reloadWorkspace = new lc.RequestType0<null, void>("rust-analyzer/reloadWorkspace");
|
||||
|
||||
export const hoverRange = new lc.RequestType<HoverRangeParams, lc.Hover | null, void>("rust-analyzer/hoverRange");
|
||||
|
||||
export interface HoverRangeParams {
|
||||
textDocument: lc.TextDocumentIdentifier;
|
||||
range: lc.Range;
|
||||
}
|
||||
|
||||
export interface SyntaxTreeParams {
|
||||
textDocument: lc.TextDocumentIdentifier;
|
||||
range: lc.Range | null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue