You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We added a new event onWillSaveTextDocument that fire before a document is saved to disk and that allows you to sneak in changes to the document. Make sure that
the event has proper jsdoc and informs about the challenges a pre-save hook brings
the event tells you why save happens
the event allows to modify the document (register any long running task)
the event allows to provide text edits that should be applied before save
the event is protected from bad listeners (throw errors async/sync)
the event is guarded from slow listeners (never resolve promise)
The text was updated successfully, but these errors were encountered:
Test for #239
Complexity 3
We added a new event
onWillSaveTextDocument
that fire before a document is saved to disk and that allows you to sneak in changes to the document. Make sure thatThe text was updated successfully, but these errors were encountered: