mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 18:27:38 +01:00
Merge pull request #165807 from microsoft/joh/responsible-antelope
Set the `respectAutoSaveConfig` to false for code action on save
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user