Skip to content
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

Don't auto save when there is any syntax error on the file. #141868

Closed
shahriyardx opened this issue Jan 31, 2022 · 3 comments
Closed

Don't auto save when there is any syntax error on the file. #141868

shahriyardx opened this issue Jan 31, 2022 · 3 comments
Labels
feature-request Request for new features or functionality file-io File I/O

Comments

@shahriyardx
Copy link

When the AutoSave is set to afterDelay and we type something on our code and stop the delay time the code will save automatically even if there was an Syntax error.

I want it so if there is any syntax error on the file it won't get autosaved.

When working on a react project and autosave enabled if there is error file gets saved and I see error on the browser which I personally don't like and I think some people are also like me. So let us enable something that will make sure there is no error on the file and then save the file. And if there is an error then file wont saved and wait till the syntax error is fixed.

@bpasero bpasero added feature-request Request for new features or functionality file-io File I/O and removed triage-needed labels Jan 31, 2022
@bpasero bpasero removed their assignment Jan 31, 2022
@github-actions github-actions bot locked and limited conversation to collaborators May 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality file-io File I/O
Projects
None yet
Development

No branches or pull requests

3 participants
@bpasero @shahriyardx and others