diff options
author | Aleksey Kladov <[email protected]> | 2020-09-29 21:05:18 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-09-29 21:13:23 +0100 |
commit | af8063fe373cf06a345b0d4eee14ef1ef6873bc7 (patch) | |
tree | 8d8e459960c98fa9c491f25ef755543363dec76e /docs/dev | |
parent | e7df0ad2fb48166937fdd061e1ae559c72a81990 (diff) |
Extend **Status** command to also show dep info for the file
This should help with troubleshooting wrong project configuration
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/lsp-extensions.md | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 2e3133449..f1160bb1c 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md | |||
@@ -390,7 +390,14 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look | |||
390 | 390 | ||
391 | **Method:** `rust-analyzer/analyzerStatus` | 391 | **Method:** `rust-analyzer/analyzerStatus` |
392 | 392 | ||
393 | **Request:** `null` | 393 | **Request:** |
394 | |||
395 | ```typescript | ||
396 | interface AnalyzerStatusParams { | ||
397 | /// If specified, show dependencies of the current file. | ||
398 | textDocument?: TextDocumentIdentifier; | ||
399 | } | ||
400 | ``` | ||
394 | 401 | ||
395 | **Response:** `string` | 402 | **Response:** `string` |
396 | 403 | ||