WIP: Add lsp-ext scaffold

This commit is contained in:
Lukas Wirth 2022-07-17 18:05:55 +02:00 committed by Bruno Ortiz
parent 9533644ccf
commit 299382dacd
3 changed files with 24 additions and 3 deletions

View file

@ -86,6 +86,22 @@ export const fetchDependencyGraph = new lc.RequestType<
void
>("rust-analyzer/fetchDependencyGraph");
export interface FetchDependencyGraphParams {}
export interface FetchDependencyGraphResult {
crates: {
name: string;
version: string;
path: string;
}[];
}
export const fetchDependencyGraph = new lc.RequestType<
FetchDependencyGraphParams,
FetchDependencyGraphResult,
void
>("rust-analyzer/fetchDependencyGraph");
export type ExpandMacroParams = {
textDocument: lc.TextDocumentIdentifier;
position: lc.Position;