mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
WIP: Command to open docs under cursor
This commit is contained in:
parent
e95e666b10
commit
bfda0d2583
9 changed files with 176 additions and 4 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue