Merge pull request #165807 from microsoft/joh/responsible-antelope

Set the `respectAutoSaveConfig` to false for code action on save
This commit is contained in:
Johannes Rieken
2022-11-10 08:23:22 +01:00
committed by GitHub
@@ -271,7 +271,7 @@ export async function applyCodeAction(
label: item.action.title,
quotableLabel: item.action.title,
code: 'undoredo.codeAction',
respectAutoSaveConfig: true,
respectAutoSaveConfig: codeActionReason !== ApplyCodeActionReason.OnSave,
showPreview: options?.preview,
});
}