mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 20:43:21 +00:00
Document the protocol extension
This commit is contained in:
parent
974518fde7
commit
62b76e7004
1 changed files with 12 additions and 1 deletions
|
@ -303,7 +303,7 @@ SSR with query `foo($a, $b) ==>> ($a).foo($b)` will transform, eg `foo(y + 5, z)
|
|||
|
||||
**Server Capability:** `{ "matchingBrace": boolean }`
|
||||
|
||||
This request is send from client to server to handle "Matching Brace" editor action.
|
||||
This request is sent from client to server to handle "Matching Brace" editor action.
|
||||
|
||||
**Method:** `experimental/matchingBrace`
|
||||
|
||||
|
@ -386,6 +386,17 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look
|
|||
}
|
||||
```
|
||||
|
||||
## Open External Documentation
|
||||
|
||||
This request is send from client to server to get a URL to documentation for the symbol under the cursor, if available.
|
||||
|
||||
**Method** `experimental/externalDocs`
|
||||
|
||||
**Request:**: `TextDocumentPositionParams`
|
||||
|
||||
**Response** `string | null`
|
||||
|
||||
|
||||
## Analyzer Status
|
||||
|
||||
**Method:** `rust-analyzer/analyzerStatus`
|
||||
|
|
Loading…
Reference in a new issue