about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2020-09-29 22:05:18 +0200
committerAleksey Kladov <aleksey.kladov@gmail.com>2020-09-29 22:13:23 +0200
commitaf8063fe373cf06a345b0d4eee14ef1ef6873bc7 (patch)
tree8d8e459960c98fa9c491f25ef755543363dec76e /docs/dev
parente7df0ad2fb48166937fdd061e1ae559c72a81990 (diff)
downloadrust-af8063fe373cf06a345b0d4eee14ef1ef6873bc7.tar.gz
rust-af8063fe373cf06a345b0d4eee14ef1ef6873bc7.zip
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.md9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index 2e3133449fb..f1160bb1cc9 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
 
 **Method:** `rust-analyzer/analyzerStatus`
 
-**Request:** `null`
+**Request:**
+
+```typescript
+interface AnalyzerStatusParams {
+    /// If specified, show dependencies of the current file.
+    textDocument?: TextDocumentIdentifier;
+}
+```
 
 **Response:** `string`