mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-15 23:05:41 +00:00
WIP: Add lsp-ext scaffold
This commit is contained in:
parent
9533644ccf
commit
299382dacd
3 changed files with 24 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue