Feat: #94285 Options on saving before running tasks by cumbreras · Pull Request #94466 · microsoft/vscode
This PR fixes #94285
What:
Based on the problem described on #94285; I've added a new set of configurable options that are under the task configuration. This option is saveBeforeRun: <always|never|prompt>; defaulting to the first option of always saving before running a task (current behavior).
How to test:
Include on settings.json:
-
"task.saveBeforeRun": "never":
Execute a task, with this option selected, the editor will not save the dirty editors and run the selected task. -
"task.saveBeforeRun": "prompt":
Execute a task, with this option selected, the editor will ask you if you want to either save or not save all editors. -
"task.saveBeforeRun": "always":
Execute a task, with this option selected, the editor will behave as of now, all dirty editors will be saved and the task will be run.