mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Link upstream issues
This commit is contained in:
parent
a95bb1355d
commit
9d31b502b5
1 changed files with 7 additions and 1 deletions
|
@ -7,6 +7,8 @@ All capabilities are enabled via `experimental` field of `ClientCapabilities`.
|
|||
|
||||
## Snippet `TextEdit`
|
||||
|
||||
**Issue:** https://github.com/microsoft/language-server-protocol/issues/724
|
||||
|
||||
**Client Capability:** `{ "snippetTextEdit": boolean }`
|
||||
|
||||
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
|
||||
|
||||
**Issue:** https://github.com/microsoft/language-server-protocol/issues/992
|
||||
|
||||
**Server Capability:** `{ "joinLines": boolean }`
|
||||
|
||||
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
|
||||
|
||||
**Issue:** https://github.com/microsoft/language-server-protocol/issues/994
|
||||
|
||||
**Client Capability:** `{ "codeActionGroup": boolean }`
|
||||
|
||||
If this capability is set, `CodeAction` returned from the server contain an additional field, `group`:
|
||||
|
||||
```typescript
|
||||
interface CodeAction {
|
||||
title: string;
|
||||
title: string;
|
||||
group?: string;
|
||||
...
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue