-
Notifications
You must be signed in to change notification settings - Fork 5
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
Adopt formatOnSave changes #12
Comments
thanks for your information, i'll try it. |
Cool - let me know if you need help or support |
10 tasks
Looks proper - tho note that there is the global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since version 1.6 VS Code has a format on save option. It works by calling the registered formatting provider for the language in question and most importantly it happens before the file is saved to disk, not causing additional fs writes and event cascades.
Please adopt this code code by either removing it and trusting the new
editor.formatOnSave
-setting or by using the newonWillSaveTextDocument
-event.See https://code.visualstudio.com/updates#_format-on-save, microsoft/vscode#12449, and microsoft/vscode#239
The text was updated successfully, but these errors were encountered: