-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
editor: save dirty editors when toggling auto-save on #8163
Conversation
c68d444
to
86ee904
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks well for me.
- Tested with setting the preference on the
autoSave
toon
. - Tested with the
autoSave
toggle in the file-menu.
OS: Windows.
Tested on UBUNTU 18.04 and Chrome
|
86ee904
to
bec48d1
Compare
bec48d1
to
89a0891
Compare
The following commit triggers a `saveAll` (for all dirty content), when the `auto-save` is turned on. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
89a0891
to
42a09db
Compare
@lmcbout do you mind re-reviewing the pull-request?
I do not believe the comment you had about the |
Tested with commit 42a09db |
@lmcbout the bug about the toggle command causing dirty changes to the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @vince-fugnitto
LGTM
I'll merge tomorrow if there are no objections :) |
What it does
The following pull-request updates the
toggleAutoSave
method to trigger asaveAll
(for all dirty content), when theauto-save
preference value is turned on. This behavior of saving dirty content across multiple editors is consistent with vscode and improves the user-experience.How to test
auto-save
is offauto-save
by enabling it in thefile
menuReview checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com