Skip to content

Commit

Permalink
Document the protocol extension
Browse files Browse the repository at this point in the history
  • Loading branch information
zacps committed Sep 1, 2020
1 parent 7741e61 commit 0a9cbbc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/dev/lsp-extensions.md
Expand Up @@ -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`

Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit 0a9cbbc

Please sign in to comment.