Skip to content

Commit 697f9c7

Browse files
authored
Merge branch 'master' into add_open_cargo_toml_action
2 parents a5209ee + 5c06e82 commit 697f9c7

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

docs/dev/lsp-extensions.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -109,30 +109,6 @@ Invoking code action at this position will yield two code actions for importing
109109
* Is a fixed two-level structure enough?
110110
* Should we devise a general way to encode custom interaction protocols for GUI refactorings?
111111

112-
## Lazy assists with `ResolveCodeAction`
113-
114-
**Issue:** https://github.com/microsoft/language-server-protocol/issues/787
115-
116-
**Client Capability** `{ "resolveCodeAction": boolean }`
117-
118-
If this capability is set, the assists will be computed lazily. Thus `CodeAction` returned from the server will only contain `id` but not `edit` or `command` fields. The only exclusion from the rule is the diagnostic edits.
119-
120-
After the client got the id, it should then call `experimental/resolveCodeAction` command on the server and provide the following payload:
121-
122-
```typescript
123-
interface ResolveCodeActionParams {
124-
id: string;
125-
codeActionParams: lc.CodeActionParams;
126-
}
127-
```
128-
129-
As a result of the command call the client will get the respective workspace edit (`lc.WorkspaceEdit`).
130-
131-
### Unresolved Questions
132-
133-
* Apply smarter filtering for ids?
134-
* Upon `resolveCodeAction` command only call the assits which should be resolved and not all of them?
135-
136112
## Parent Module
137113

138114
**Issue:** https://github.com/microsoft/language-server-protocol/issues/1002

0 commit comments

Comments
 (0)