diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-01 14:08:25 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-01 14:08:25 +0100 |
commit | 3f94ad332aa22252a46d948888f5b23c0e21cd38 (patch) | |
tree | 8ba9457b48fa73741f9639c5ff6d8baa152a6aac /docs/dev | |
parent | e080c19cca52b56ffc62988518faeaabf9c021be (diff) | |
parent | c9f878962a7c9d1c33d5834a1dce2106c9286699 (diff) |
Merge #5169
5169: Add reload workspace command r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/lsp-extensions.md | 8 |
1 files changed, 4 insertions, 4 deletions
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 | |||
389 | 389 | ||
390 | Returns internal status message, mostly for debugging purposes. | 390 | Returns internal status message, mostly for debugging purposes. |
391 | 391 | ||
392 | ## Collect Garbage | 392 | ## Reload Workspace |
393 | 393 | ||
394 | **Method:** `rust-analyzer/collectGarbage` | 394 | **Method:** `rust-analyzer/reloadWorkspace` |
395 | 395 | ||
396 | **Request:** `null` | 396 | **Request:** `null` |
397 | 397 | ||
398 | **Response:** `null` | 398 | **Response:** `null` |
399 | 399 | ||
400 | Frees some caches. For internal use, and is mostly broken at the moment. | 400 | Reloads project information (that is, re-executes `cargo metadata`). |
401 | 401 | ||
402 | ## Syntax Tree | 402 | ## Syntax Tree |
403 | 403 | ||
@@ -504,4 +504,4 @@ Such actions on the client side are appended to a hover bottom as command links: | |||
504 | | TITLE _Action1_ | _Action2_ | <- second group | 504 | | TITLE _Action1_ | _Action2_ | <- second group |
505 | +-----------------------------+ | 505 | +-----------------------------+ |
506 | ... | 506 | ... |
507 | ``` \ No newline at end of file | 507 | ``` |