We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0412c1 commit b075ff1Copy full SHA for b075ff1
src/specialCommands.ts
@@ -372,8 +372,13 @@ export default () => {
372
if (!fixAllEdits || token.isCancellationRequested) return
373
const edit = new vscode.WorkspaceEdit()
374
edit.set(document.uri, tsTextChangesToVscodeTextEdits(document, fixAllEdits))
375
- await vscode.workspace.applyEdit(edit)
376
- return
+ return [
+ {
377
+ title: '[essentials] Fix all TypeScript',
378
+ kind: vscode.CodeActionKind.SourceFixAll,
379
+ edit,
380
+ },
381
+ ]
382
}
383
384
if (context.triggerKind !== vscode.CodeActionTriggerKind.Invoke) return
0 commit comments