aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/lsp-extensions.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md
index 2a966a96d..51aa79517 100644
--- a/docs/dev/lsp-extensions.md
+++ b/docs/dev/lsp-extensions.md
@@ -1,5 +1,5 @@
1<!--- 1<!---
2lsp_ext.rs hash: 8f1ae8530f69e3a3 2lsp_ext.rs hash: 34aec6bfeaeb97a
3 3
4If you need to change the above hash to make the test pass, please check if you 4If you need to change the above hash to make the test pass, please check if you
5need to adjust this doc as well and ping this issue: 5need to adjust this doc as well and ping this issue:
@@ -573,3 +573,14 @@ This request is sent from client to server to open the current project's Cargo.t
573``` 573```
574 574
575`experimental/openCargoToml` returns a single `Link` to the start of the `[package]` keyword. 575`experimental/openCargoToml` returns a single `Link` to the start of the `[package]` keyword.
576
577## CodeLens resolve request
578
579This request is sent from client to server to resolve previously provided CodeLens.
580
581As an alternative to `any` type in `data` field of `CodeLens`, you may use `CodeLensResolveData`:
582```typescript
583interface CodeLensResolveData {
584 data: (DefinitionParams | TextDocumentPositionParams),
585}
586```