WIP: Command to open docs under cursor

This commit is contained in:
Zac Pullar-Strecker 2020-08-30 20:02:29 +12:00
parent e95e666b10
commit bfda0d2583
9 changed files with 176 additions and 4 deletions

View file

@ -118,3 +118,14 @@ export interface CommandLinkGroup {
title?: string;
commands: CommandLink[];
}
export interface DocumentationLink {
remote: string;
}
export interface OpenDocsParams {
textDocument: lc.TextDocumentIdentifier;
position: lc.Position;
}
export const openDocs = new lc.RequestType<OpenDocsParams, DocumentationLink, void>('rust-analyzer/openDocs');