You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I exclude a Qute template file from validation using the code action, I get a popup saying that code action resolve failed. However, the .vscode/settings.json is updated appropriately, so it seems like the code action has succeeded.
The text was updated successfully, but these errors were encountered:
One solution to this is adding an empty WorkspaceEdit to each code action that runs a command but doesn't perform a workspace edit. For whatever reason, VS Code is still trying to resolve these code actions. I'm not sure if that's a bug or intended behaviour, I'll double check the LSP specification.
Update: at least from what I read, its not explicit about what should happen.
Some clients, like VS Code, will attempt to resolve a code action if
`edit` is missing, even if a command is provided.
In order to prevent this from happening, pass an empty `WorkspaceEdit`
object as the `edit` for code actions that run commands.
Fixesredhat-developer/vscode-quarkus#598
Signed-off-by: David Thompson <davthomp@redhat.com>
Some clients, like VS Code, will attempt to resolve a code action if
`edit` is missing, even if a command is provided.
In order to prevent this from happening, pass an empty `WorkspaceEdit`
object as the `edit` for code actions that run commands.
Fixesredhat-developer/vscode-quarkus#598
Signed-off-by: David Thompson <davthomp@redhat.com>
When I exclude a Qute template file from validation using the code action, I get a popup saying that code action resolve failed. However, the
.vscode/settings.json
is updated appropriately, so it seems like the code action has succeeded.The text was updated successfully, but these errors were encountered: