about summary refs log tree commit diff
path: root/docs/dev
diff options
context:
space:
mode:
authorKirill Bulatov <mail4score@gmail.com>2021-05-03 19:00:24 +0300
committerKirill Bulatov <mail4score@gmail.com>2021-05-03 19:00:24 +0300
commit3eab6ce2e3eef6c8dca1127b4c1375899bf13b8c (patch)
treeea5521a2b7b60f31b47030c243a47b181141ee97 /docs/dev
parent53a73de3d10e20a13153c94e050a8ad9230169eb (diff)
downloadrust-3eab6ce2e3eef6c8dca1127b4c1375899bf13b8c.tar.gz
rust-3eab6ce2e3eef6c8dca1127b4c1375899bf13b8c.zip
Touch lsp-extensions.md
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/lsp-extensions.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index f0f981802ef..e2ea695f260 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -81,6 +81,7 @@ If this capability is set, `CodeAction` returned from the server contain an addi
 interface CodeAction {
     title: string;
     group?: string;
+    data?: string;
     ...
 }
 ```
@@ -101,6 +102,8 @@ The set of actions `[ { title: "foo" }, { group: "frobnicate", title: "bar" }, {
 
 Alternatively, selecting `frobnicate` could present a user with an additional menu to choose between `bar` and `baz`.
 
+`data` field contains optional json data for deferred resolve of the action data that's slow to compute in the original request.
+
 ### Example
 
 ```rust