madskristensen / Tweakster

A Visual Studio extension
Apache License 2.0
238 stars 23 forks source link

AutoSave does not propagate "on save" events correctly #80

Open Hefaistos68 opened 3 years ago

Hefaistos68 commented 3 years ago

With AutoSave active, other extensions that kick in when saving a file, do not receive the save events and can not do their job (CodeMaid's reorganize on save, for example)

To repro, activate CodeMaids "automatic cleanup on save", make changes to a file and switch editor window. The changes are saved but the automatic cleanup is no triggered because the event does get through. On the other hand, when you make changes and manually save (Ctrl+S, Ctrl+Shift+S, or File -> Save) all is triggered as expected.