diff options
author | ivan770 <[email protected]> | 2021-02-13 17:36:29 +0000 |
---|---|---|
committer | ivan770 <[email protected]> | 2021-02-13 17:36:29 +0000 |
commit | 13e9d9809a476a6dda8669945abafa35b6df8ab3 (patch) | |
tree | 9ea8c5853d1fd63233c0d07d4d0379e21f4e801c | |
parent | 4c2b201b7d836c3978665c6ed955fafea90cb3dd (diff) |
Remove CodeLensResolveData mention from lsp-extensions.md
-rw-r--r-- | docs/dev/lsp-extensions.md | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 51aa79517..a4e108724 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md | |||
@@ -573,14 +573,3 @@ 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 | |||
579 | This request is sent from client to server to resolve previously provided CodeLens. | ||
580 | |||
581 | As an alternative to `any` type in `data` field of `CodeLens`, you may use `CodeLensResolveData`: | ||
582 | ```typescript | ||
583 | interface CodeLensResolveData { | ||
584 | data: (DefinitionParams | TextDocumentPositionParams), | ||
585 | } | ||
586 | ``` | ||