4572: Link upstream issues r=matklad a=matklad



bors r+
🤖

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
bors[bot] 2020-05-22 17:14:44 +00:00 committed by GitHub
commit c5a2271580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,8 @@ All capabilities are enabled via `experimental` field of `ClientCapabilities`.
## Snippet `TextEdit` ## Snippet `TextEdit`
**Issue:** https://github.com/microsoft/language-server-protocol/issues/724
**Client Capability:** `{ "snippetTextEdit": boolean }` **Client Capability:** `{ "snippetTextEdit": boolean }`
If this capability is set, `WorkspaceEdit`s returned from `codeAction` requests might contain `SnippetTextEdit`s instead of usual `TextEdit`s: If this capability is set, `WorkspaceEdit`s returned from `codeAction` requests might contain `SnippetTextEdit`s instead of usual `TextEdit`s:
@ -38,6 +40,8 @@ At the moment, rust-analyzer guarantees that only a single edit will have `Inser
## Join Lines ## Join Lines
**Issue:** https://github.com/microsoft/language-server-protocol/issues/992
**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 send from client to server to handle "Join Lines" editor action.
@ -122,13 +126,15 @@ SSR with query `foo($a:expr, $b:expr) ==>> ($a).foo($b)` will transform, eg `foo
## `CodeAction` Groups ## `CodeAction` Groups
**Issue:** https://github.com/microsoft/language-server-protocol/issues/994
**Client Capability:** `{ "codeActionGroup": boolean }` **Client Capability:** `{ "codeActionGroup": boolean }`
If this capability is set, `CodeAction` returned from the server contain an additional field, `group`: If this capability is set, `CodeAction` returned from the server contain an additional field, `group`:
```typescript ```typescript
interface CodeAction { interface CodeAction {
title: string; title: string;
group?: string; group?: string;
... ...
} }