Do not allow code actions to run for autosave after delay (#193479)

disable code actions specifically for autosave after delay:
This commit is contained in:
Justin Chen
2023-09-19 16:31:24 +01:00
committed by GitHub
parent 060e385ef5
commit ca7f354260
@@ -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') {