-
Notifications
You must be signed in to change notification settings - Fork 181
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
"beautify.onSave": false is overriden by "editor.formatOnSave": true #61
Comments
Yep. This is caused by the changes mentioned in #59. I'll be implementing the formatOnSave to look at the |
v0.5.0 ignores |
@HookyQR just tried it and works well. Thanks! Just a minor issue: When I update/install the beautify extension, then the file with the global default VS Code options/settings still contains
which is not valid anymore. Shall I create an issue for that? |
FYI - You can limit {
"[less]": {
"editor.formatOnSave": true
}
} This will only format |
Files are formatted even though "beautify.onSave" is false. This only happens, if "editor.formatOnSave" is true.
My propsal would be to activate beautify only and only if editor.formatOnSave is set to true. Change beautify.onSave so that setting it to true/false is not allowed, but only setting the file types is allowed:
Don't allow:
"beautify.onSave": true | false
Only allow:
"beautify.onSave": ["js","css"]
The text was updated successfully, but these errors were encountered: