diff options
| author | ivan770 <leshenko.ivan770@gmail.com> | 2021-02-13 13:07:47 +0200 |
|---|---|---|
| committer | ivan770 <leshenko.ivan770@gmail.com> | 2021-02-13 13:07:47 +0200 |
| commit | 185da286d26ea7f892097c48b79a28acd7e5f172 (patch) | |
| tree | 925bdb4be5377544323989476b0d30e091287ea5 /docs/dev | |
| parent | 935830d05bcf5f0c648e636dcbc8848a201467c0 (diff) | |
| download | rust-185da286d26ea7f892097c48b79a28acd7e5f172.tar.gz rust-185da286d26ea7f892097c48b79a28acd7e5f172.zip | |
Moved CodeLens to ide crate
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index 2a966a96da9..51aa795170e 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@ <!--- -lsp_ext.rs hash: 8f1ae8530f69e3a3 +lsp_ext.rs hash: 34aec6bfeaeb97a If you need to change the above hash to make the test pass, please check if you need 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 ``` `experimental/openCargoToml` returns a single `Link` to the start of the `[package]` keyword. + +## CodeLens resolve request + +This request is sent from client to server to resolve previously provided CodeLens. + +As an alternative to `any` type in `data` field of `CodeLens`, you may use `CodeLensResolveData`: +```typescript +interface CodeLensResolveData { + data: (DefinitionParams | TextDocumentPositionParams), +} +``` |
