Add a "Debug ItemTree" LSP request

This commit is contained in:
Jonas Schievink 2021-05-21 23:59:52 +02:00
parent 8d13864440
commit 271ec6b990
9 changed files with 108 additions and 0 deletions

View file

@ -27,6 +27,12 @@ export const syntaxTree = new lc.RequestType<SyntaxTreeParams, string, void>("ru
export const viewHir = new lc.RequestType<lc.TextDocumentPositionParams, string, void>("rust-analyzer/viewHir");
export interface ViewItemTreeParams {
textDocument: lc.TextDocumentIdentifier;
}
export const viewItemTree = new lc.RequestType<ViewItemTreeParams, string, void>("rust-analyzer/viewItemTree");
export const viewCrateGraph = new lc.RequestType0<string, void>("rust-analyzer/viewCrateGraph");
export interface ExpandMacroParams {