New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Autosave on build #21342
Comments
With the extension Trigger Task on Save you can trigger a build on save. |
Slight typo in your URL there @BillDenton, fixed one: |
I test this again and files are saved before a task is run. Can you provide steps where this is not happening. |
Just tested and I agree it does save on build. I'm not sure when this started happening or how it can be controlled, but for the default build task in 1.18.0 it works. |
It can't be controlled right now. |
This issue has been closed automatically because it needs more information and has not had recent activity. Please refer to our guidelines for filing issues. Thank you for your contributions. |
@dbaeumer, can this be closed? Based on the discussion, save on build already happens. |
@alexr00 the reason why I kept it open is that this can't be control. Currently we save for all tasks before we run them. In a perfect world we would allow users to control this on a task to task basis. |
In case this becomes configurable at some point, I propose to have three options:
|
Version 1.87.0 -- most definitely does NOT happen with .Net [.sln, .csproj] and Solution Explorer... |
Steps to Reproduce:
Don't think it should be for all tasks, but probably those marked as auto-save in the tasks.json. Would be good if it could be restricted to files with in the workspace folder. I can have outside files open, e.g. notes. Perhaps something like:
"autoSave": off (default)/all/workspace
The text was updated successfully, but these errors were encountered: