Skip to content

Commit dec7735

Browse files
authored
Revert "respect auto-save setting even for single file edits" (microsoft#165832)
This reverts commit dc04246.
1 parent 2cd1bf6 commit dec7735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export class BulkEditService implements IBulkEditService {
244244

245245
// when enabled (option AND setting) loop over all dirty working copies and trigger save
246246
// for those that were involved in this bulk edit operation.
247-
if (options?.respectAutoSaveConfig && this._configService.getValue(autoSaveSetting) === true) {
247+
if (options?.respectAutoSaveConfig && this._configService.getValue(autoSaveSetting) === true && resources.length > 1) {
248248
await this._saveAll(resources);
249249
}
250250

0 commit comments

Comments
 (0)