diff options
author | Jonas Schievink <[email protected]> | 2020-07-07 11:10:14 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2020-07-07 11:10:14 +0100 |
commit | f44c4b61e131284287b24dea6da6324cbe9cb252 (patch) | |
tree | d05b6d48374da0097d359b16115da959b57048ce /editors/code/src/lsp_ext.ts | |
parent | 0f5d62a3f3b33edadea50ea93c725ac36460c0d7 (diff) |
Add a command to compute memory usage statistics
Diffstat (limited to 'editors/code/src/lsp_ext.ts')
-rw-r--r-- | editors/code/src/lsp_ext.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts index bf4703239..5f32cb40e 100644 --- a/editors/code/src/lsp_ext.ts +++ b/editors/code/src/lsp_ext.ts | |||
@@ -5,6 +5,7 @@ | |||
5 | import * as lc from "vscode-languageclient"; | 5 | import * as lc from "vscode-languageclient"; |
6 | 6 | ||
7 | export const analyzerStatus = new lc.RequestType<null, string, void>("rust-analyzer/analyzerStatus"); | 7 | export const analyzerStatus = new lc.RequestType<null, string, void>("rust-analyzer/analyzerStatus"); |
8 | export const memoryUsage = new lc.RequestType<null, string, void>("rust-analyzer/memoryUsage"); | ||
8 | 9 | ||
9 | export type Status = "loading" | "ready" | "invalid" | "needsReload"; | 10 | export type Status = "loading" | "ready" | "invalid" | "needsReload"; |
10 | export const status = new lc.NotificationType<Status>("rust-analyzer/status"); | 11 | export const status = new lc.NotificationType<Status>("rust-analyzer/status"); |