-
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
custom-editors: Fix the issue: Auto Save on Binary Custom Editor does not work correctly #11599
custom-editors: Fix the issue: Auto Save on Binary Custom Editor does not work correctly #11599
Conversation
Hi @vince-fugnitto @msujew |
@safisa do you mind sharing the |
First, thank you for the review. If you enable the auto-save, and open and edit the file as above, before this PR, the save event will keep being invoked infinitely. you can check it by testing the timestamp of the file on disk, or putting a breakpoint in the pawDraw.js file inside the message event (getFileData) or in the Theia custom-editors-main.ts file, on the method change of the MainCustomEditorModel class. Thanks in advance. |
#11460 Signed-off-by: Safi Seid-Ahmad <[email protected]>
@safisa can you please fix the git history (seems to be issues after rebasing) and ping me when it's ready for another review? |
Hi @vince-fugnitto |
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.
I confirmed the bug on master and that it is correctly fixed by the updates 👍
Hi @vince-fugnitto |
What it does
Fixes: #11460.
Fix an issue where auto save on custom editor does not work correctly.
How to test
Review checklist
Reminder for reviewers
Signed-off-by: Safi Seid-Ahmad [email protected]