mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 04:53:34 +00:00
Fix send->sent typo
This commit is contained in:
parent
26086faab2
commit
f1decfc110
1 changed files with 7 additions and 7 deletions
|
@ -129,7 +129,7 @@ As a result of the command call the client will get the respective workspace edi
|
||||||
|
|
||||||
**Server Capability:** `{ "parentModule": boolean }`
|
**Server Capability:** `{ "parentModule": boolean }`
|
||||||
|
|
||||||
This request is send from client to server to handle "Goto Parent Module" editor action.
|
This request is sent from client to server to handle "Goto Parent Module" editor action.
|
||||||
|
|
||||||
**Method:** `experimental/parentModule`
|
**Method:** `experimental/parentModule`
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ mod foo;
|
||||||
|
|
||||||
**Server Capability:** `{ "joinLines": boolean }`
|
**Server Capability:** `{ "joinLines": boolean }`
|
||||||
|
|
||||||
This request is send from client to server to handle "Join Lines" editor action.
|
This request is sent from client to server to handle "Join Lines" editor action.
|
||||||
|
|
||||||
**Method:** `experimental/joinLines`
|
**Method:** `experimental/joinLines`
|
||||||
|
|
||||||
|
@ -210,7 +210,7 @@ fn main() {
|
||||||
|
|
||||||
**Server Capability:** `{ "onEnter": boolean }`
|
**Server Capability:** `{ "onEnter": boolean }`
|
||||||
|
|
||||||
This request is send from client to server to handle <kbd>Enter</kbd> keypress.
|
This request is sent from client to server to handle <kbd>Enter</kbd> keypress.
|
||||||
|
|
||||||
**Method:** `experimental/onEnter`
|
**Method:** `experimental/onEnter`
|
||||||
|
|
||||||
|
@ -261,7 +261,7 @@ As proper cursor positioning is raison-d'etat for `onEnter`, it uses `SnippetTex
|
||||||
|
|
||||||
**Server Capability:** `{ "ssr": boolean }`
|
**Server Capability:** `{ "ssr": boolean }`
|
||||||
|
|
||||||
This request is send from client to server to handle structural search replace -- automated syntax tree based transformation of the source.
|
This request is sent from client to server to handle structural search replace -- automated syntax tree based transformation of the source.
|
||||||
|
|
||||||
**Method:** `experimental/ssr`
|
**Method:** `experimental/ssr`
|
||||||
|
|
||||||
|
@ -348,7 +348,7 @@ Moreover, it would be cool if editors didn't need to implement even basic langua
|
||||||
|
|
||||||
**Server Capability:** `{ "runnables": { "kinds": string[] } }`
|
**Server Capability:** `{ "runnables": { "kinds": string[] } }`
|
||||||
|
|
||||||
This request is send from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`).
|
This request is sent from client to server to get the list of things that can be run (tests, binaries, `cargo check -p`).
|
||||||
|
|
||||||
**Method:** `experimental/runnables`
|
**Method:** `experimental/runnables`
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ rust-analyzer supports only one `kind`, `"cargo"`. The `args` for `"cargo"` look
|
||||||
|
|
||||||
## Open External Documentation
|
## 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.
|
This request is sent from client to server to get a URL to documentation for the symbol under the cursor, if available.
|
||||||
|
|
||||||
**Method** `experimental/externalDocs`
|
**Method** `experimental/externalDocs`
|
||||||
|
|
||||||
|
@ -488,7 +488,7 @@ Expands macro call at a given position.
|
||||||
|
|
||||||
**Method:** `rust-analyzer/inlayHints`
|
**Method:** `rust-analyzer/inlayHints`
|
||||||
|
|
||||||
This request is send from client to server to render "inlay hints" -- virtual text inserted into editor to show things like inferred types.
|
This request is sent from client to server to render "inlay hints" -- virtual text inserted into editor to show things like inferred types.
|
||||||
Generally, the client should re-query inlay hints after every modification.
|
Generally, the client should re-query inlay hints after every modification.
|
||||||
Note that we plan to move this request to `experimental/inlayHints`, as it is not really Rust-specific, but the current API is not necessary the right one.
|
Note that we plan to move this request to `experimental/inlayHints`, as it is not really Rust-specific, but the current API is not necessary the right one.
|
||||||
Upstream issue: https://github.com/microsoft/language-server-protocol/issues/956
|
Upstream issue: https://github.com/microsoft/language-server-protocol/issues/956
|
||||||
|
|
Loading…
Reference in a new issue