pedropombeiro / ReSharper.AutoFormatOnSave

An addin for Visual Studio which causes the documents to be reformated on save
http://blog.pedropombeiro.com/keeping-code-formatted-the-easy-way/
MIT License
27 stars 20 forks source link

Files left 'dirty' after format-on-save #26

Open NameOfTheDragon opened 7 years ago

NameOfTheDragon commented 7 years ago

With this extension installed, the files get formatted as expected whenever they are saved. The unformatted file gets saved, then the formatting is applied, but the reformatted file is left 'dirty' (not saved). So the net result is not much different to just running a ReSharper Code Cleanup.

If the file is saved again, then the Code Cleanup is re-run, and sometimes (just sometimes) the save will happen correctly. Mostly though, the file will never save correctly.

I'm using VS2017 and I don't recall this being a problem in VS2015.

Jogge commented 7 years ago

Duplicate issue. See #24.