aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorivan770 <[email protected]>2021-02-13 11:07:47 +0000
committerivan770 <[email protected]>2021-02-13 11:07:47 +0000
commit185da286d26ea7f892097c48b79a28acd7e5f172 (patch)
tree925bdb4be5377544323989476b0d30e091287ea5 /docs
parent935830d05bcf5f0c648e636dcbc8848a201467c0 (diff)
Moved CodeLens to ide crate
Diffstat (limited to 'docs')
-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```