forked from microsoft/vscode-editorconfig
-
Notifications
You must be signed in to change notification settings - Fork 121
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
Switch to onWillSaveTextDocument #76
Labels
Comments
Sounds excellent! |
This was referenced Oct 11, 2016
Closed
SamVerschueren
added a commit
that referenced
this issue
Oct 12, 2016
This was referenced Oct 12, 2016
The |
SamVerschueren
added a commit
that referenced
this issue
Oct 18, 2016
jednano
pushed a commit
that referenced
this issue
Oct 19, 2016
use onWillSaveTextDocument - fixes #76
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The latest insider build has this new event called onWillSaveTextDocument. This allows us to return a
TextEdit
array which will be applied to the document.I already made the switch in my vscode-final-newline plugin. Works really great and this also works with the
Save All
option, which isn't the case with the current implementation.I will have a look when I find the time.
The text was updated successfully, but these errors were encountered: