mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Remove CodeLensResolveData mention from lsp-extensions.md
This commit is contained in:
parent
4c2b201b7d
commit
13e9d9809a
1 changed files with 0 additions and 11 deletions
|
@ -573,14 +573,3 @@ 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.
|
`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),
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
Loading…
Reference in a new issue