Skip to content

Commit

Permalink
Fixes #1359: codeAction.resolveSupport does not have command field to…
Browse files Browse the repository at this point in the history
… detect support, but it supports it (#1360)
  • Loading branch information
dbaeumer committed Nov 14, 2023
1 parent 89cb44c commit 0280642
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"./tsconfig-gen"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"mochaExplorer.files": [
"textDocument/lib/umd/test/*.js",
Expand Down
2 changes: 1 addition & 1 deletion client/src/common/codeAction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class CodeActionFeature extends TextDocumentLanguageFeature<boolean | Cod
cap.dataSupport = true;
// We can only resolve the edit property.
cap.resolveSupport = {
properties: ['edit']
properties: ['edit', 'command']
};
cap.codeActionLiteralSupport = {
codeActionKind: {
Expand Down

0 comments on commit 0280642

Please sign in to comment.