diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-07-02 12:37:04 +0200 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2020-07-02 15:32:14 +0200 |
| commit | 3ef76760761d17cef4ea4e8462d9ee2ca8395467 (patch) | |
| tree | dbcb0bf2cc2f43533360a4a16f3994ddb88515df /docs/dev | |
| parent | a03cfa49268d3938b55ceff046d04a75de8972b9 (diff) | |
| download | rust-3ef76760761d17cef4ea4e8462d9ee2ca8395467.tar.gz rust-3ef76760761d17cef4ea4e8462d9ee2ca8395467.zip | |
Implement StatusBar
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index c0afb16d3b2..6d6bbac7ca1 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -399,6 +399,18 @@ Returns internal status message, mostly for debugging purposes. Reloads project information (that is, re-executes `cargo metadata`). +## Status Notification + +**Client Capability:** `{ "statusNotification": boolean }` + +**Method:** `rust-analyzer/status` + +**Notification:** `"loading" | "ready" | "invalid" | "needsReload"` + +This notification is sent from server to client. +The client can use it to display persistent status to the user (in modline). +For `needsReload` state, the client can provide a context-menu action to run `rust-analyzer/reloadWorkspace` request. + ## Syntax Tree **Method:** `rust-analyzer/syntaxTree` |
