mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Add a command to compute memory usage statistics
This commit is contained in:
parent
0f5d62a3f3
commit
f44c4b61e1
8 changed files with 74 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
import * as lc from "vscode-languageclient";
|
||||
|
||||
export const analyzerStatus = new lc.RequestType<null, string, void>("rust-analyzer/analyzerStatus");
|
||||
export const memoryUsage = new lc.RequestType<null, string, void>("rust-analyzer/memoryUsage");
|
||||
|
||||
export type Status = "loading" | "ready" | "invalid" | "needsReload";
|
||||
export const status = new lc.NotificationType<Status>("rust-analyzer/status");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue