Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: current development
main branch
- OS Version: MacOS 12.5.1
Steps to Reproduce:
- make sure setting
task.saveBeforeRun is set to prompt
- save all editors
- run a task
- observe that the editor asks whether to save all editors
When no editor is dirty, it is disconcerting when trying to run a task asks me whether I should save all editors – I need to stop and think what is unsaved and whether I should save it. This can be avoided if the code checks that any editor is dirty before asking.
PR submitted: #159318
Does this issue occur when all extensions are disabled?: Yes
mainbranchSteps to Reproduce:
task.saveBeforeRunis set topromptWhen no editor is dirty, it is disconcerting when trying to run a task asks me whether I should save all editors – I need to stop and think what is unsaved and whether I should save it. This can be avoided if the code checks that any editor is dirty before asking.
PR submitted: #159318