Skip to content

Run task: don't ask whether to save all files when all are saved #159317

Description

@jacekkopecky

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:

  1. make sure setting task.saveBeforeRun is set to prompt
  2. save all editors
  3. run a task
  4. 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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsiderstasksTask system issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions