Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify that an editor should fallback to unresolved code action if resolve request fails #2112

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _specifications/lsp/3.18/language/codeAction.md
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ then a code action

needs to be resolved using the `codeAction/resolve` request before it can be applied.

If the resolve request fails, the editor should try to apply the edit or command from the unresolved code action.

_Client Capability_:
* property name (optional): `textDocument.codeAction.resolveSupport`
* property type: `{ properties: string[]; }`
Expand Down