diff --git a/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts b/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts index fc93eb31ecd96..d29cbedb13940 100644 --- a/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts +++ b/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.ts @@ -285,6 +285,11 @@ class CodeActionOnSaveParticipant implements ITextFileSaveParticipant { if (!setting) { return undefined; } + + if (env.reason === SaveReason.AUTO) { + return undefined; + } + const convertedSetting: { [kind: string]: string } = {}; for (const key in setting) { if (typeof setting[key] === 'boolean') {