-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Prevent auto-format in auto-save #12817
Prevent auto-format in auto-save #12817
Conversation
Behaviour is hardcoded
93bb737
to
e38bd9e
Compare
|
Fixed |
448627b
to
bfa9b1e
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.
Let's remove the config option for now and have auto-save always prevent formatting. Setting the option to true
would have a confusing effect - it effectively disables auto-save. Once we can auto-save with formatting we can add a config option but in the meantime it will only be confusing.
This behaviour is not configurable
406ba8d
to
87195d6
Compare
Fixes #12809
Adds an option in the config file (format-on-auto-save
) to configure the formatting on auto save. Setting it totrue
will format the files on auto save,false
(which is the default value) will not format the files on auto save.Auto saving won't auto format the files now.