mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Change signature of externalDocs
in lsp-extensions
This commit is contained in:
parent
2503fbefde
commit
da0ffe79d0
@ -386,13 +386,13 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look
|
|||||||
|
|
||||||
## Open External Documentation
|
## Open External Documentation
|
||||||
|
|
||||||
This request is sent from client to server to get a URL to documentation for the symbol under the cursor, if available.
|
This request is sent from client to server to get a web and local URL(s) to documentation for the symbol under the cursor, if available.
|
||||||
|
|
||||||
**Method** `experimental/externalDocs`
|
**Method** `experimental/externalDocs`
|
||||||
|
|
||||||
**Request:**: `TextDocumentPositionParams`
|
**Request:**: `TextDocumentPositionParams`
|
||||||
|
|
||||||
**Response** `string | null`
|
**Response** `[string | null, string | null]`
|
||||||
|
|
||||||
|
|
||||||
## Analyzer Status
|
## Analyzer Status
|
||||||
|
Loading…
x
Reference in New Issue
Block a user