diff options
author | Kirill Bulatov <[email protected]> | 2021-05-03 17:00:24 +0100 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2021-05-03 17:00:24 +0100 |
commit | 3eab6ce2e3eef6c8dca1127b4c1375899bf13b8c (patch) | |
tree | ea5521a2b7b60f31b47030c243a47b181141ee97 | |
parent | 53a73de3d10e20a13153c94e050a8ad9230169eb (diff) |
Touch lsp-extensions.md
-rw-r--r-- | docs/dev/lsp-extensions.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index f0f981802..e2ea695f2 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 | |||
81 | interface CodeAction { | 81 | interface CodeAction { |
82 | title: string; | 82 | title: string; |
83 | group?: string; | 83 | group?: string; |
84 | data?: string; | ||
84 | ... | 85 | ... |
85 | } | 86 | } |
86 | ``` | 87 | ``` |
@@ -101,6 +102,8 @@ The set of actions `[ { title: "foo" }, { group: "frobnicate", title: "bar" }, { | |||
101 | 102 | ||
102 | Alternatively, selecting `frobnicate` could present a user with an additional menu to choose between `bar` and `baz`. | 103 | Alternatively, selecting `frobnicate` could present a user with an additional menu to choose between `bar` and `baz`. |
103 | 104 | ||
105 | `data` field contains optional json data for deferred resolve of the action data that's slow to compute in the original request. | ||
106 | |||
104 | ### Example | 107 | ### Example |
105 | 108 | ||
106 | ```rust | 109 | ```rust |