aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/lsp-extensions.md
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-02 11:37:04 +0100
committerAleksey Kladov <[email protected]>2020-07-02 14:32:14 +0100
commit3ef76760761d17cef4ea4e8462d9ee2ca8395467 (patch)
treedbcb0bf2cc2f43533360a4a16f3994ddb88515df /docs/dev/lsp-extensions.md
parenta03cfa49268d3938b55ceff046d04a75de8972b9 (diff)
Implement StatusBar
Diffstat (limited to 'docs/dev/lsp-extensions.md')
-rw-r--r--docs/dev/lsp-extensions.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index c0afb16d3..6d6bbac7c 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.
399 399
400Reloads project information (that is, re-executes `cargo metadata`). 400Reloads project information (that is, re-executes `cargo metadata`).
401 401
402## Status Notification
403
404**Client Capability:** `{ "statusNotification": boolean }`
405
406**Method:** `rust-analyzer/status`
407
408**Notification:** `"loading" | "ready" | "invalid" | "needsReload"`
409
410This notification is sent from server to client.
411The client can use it to display persistent status to the user (in modline).
412For `needsReload` state, the client can provide a context-menu action to run `rust-analyzer/reloadWorkspace` request.
413
402## Syntax Tree 414## Syntax Tree
403 415
404**Method:** `rust-analyzer/syntaxTree` 416**Method:** `rust-analyzer/syntaxTree`