diff options
author | Jonas Schievink <[email protected]> | 2021-05-11 15:15:31 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-05-11 15:15:31 +0100 |
commit | a85a2c4d151d9d2e8fb016d76aad99a6ca88bc75 (patch) | |
tree | 636c0727298fd9d60a7b2a639c49dca8ba73d813 /editors/code/src/lsp_ext.ts | |
parent | 9fa9d166d8141bb9ca4fcf0544c49b903fb85e09 (diff) |
Allow viewing the crate graph in a webview
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index f78de894b..aa745a65c 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -27,6 +27,8 @@ export const syntaxTree = new lc.RequestType<SyntaxTreeParams, string, void>("ru | |||
27 | 27 | ||
28 | export const viewHir = new lc.RequestType<lc.TextDocumentPositionParams, string, void>("rust-analyzer/viewHir"); | 28 | export const viewHir = new lc.RequestType<lc.TextDocumentPositionParams, string, void>("rust-analyzer/viewHir"); |
29 | 29 | ||
30 | export const viewCrateGraph = new lc.RequestType0<string, void>("rust-analyzer/viewCrateGraph"); | ||
31 | |||
30 | export interface ExpandMacroParams { | 32 | export interface ExpandMacroParams { |
31 | textDocument: lc.TextDocumentIdentifier; | 33 | textDocument: lc.TextDocumentIdentifier; |
32 | position: lc.Position; | 34 | position: lc.Position; |