From c9f878962a7c9d1c33d5834a1dce2106c9286699 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 1 Jul 2020 14:57:59 +0200 Subject: Add reload workspace command --- docs/dev/lsp-extensions.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/dev') diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index a0847dad3..c0afb16d3 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -389,15 +389,15 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look Returns internal status message, mostly for debugging purposes. -## Collect Garbage +## Reload Workspace -**Method:** `rust-analyzer/collectGarbage` +**Method:** `rust-analyzer/reloadWorkspace` **Request:** `null` **Response:** `null` -Frees some caches. For internal use, and is mostly broken at the moment. +Reloads project information (that is, re-executes `cargo metadata`). ## Syntax Tree @@ -504,4 +504,4 @@ Such actions on the client side are appended to a hover bottom as command links: | TITLE _Action1_ | _Action2_ | <- second group +-----------------------------+ ... -``` \ No newline at end of file +``` -- cgit v1.2.3