diff --git a/src/server/features/quickfix.ts b/src/server/features/quickfix.ts index f74eeaf..e05bc1a 100644 --- a/src/server/features/quickfix.ts +++ b/src/server/features/quickfix.ts @@ -251,6 +251,7 @@ export default class TypeScriptQuickFixProvider implements CodeActionProvider { } codeAction.edit = getEditForCodeAction(this.client, tsAction) codeAction.diagnostics = [diagnostic] + ; (codeAction as any).isPrefered = true if (tsAction.commands) { codeAction.command = { command: ApplyCodeActionCommand.ID,