pedropombeiro / ReSharper.AutoFormatOnSave

An addin for Visual Studio which causes the documents to be reformated on save

Home Page:http://blog.pedropombeiro.com/keeping-code-formatted-the-easy-way/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files left 'dirty' after format-on-save

NameOfTheDragon opened this issue · comments

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.

Duplicate issue. See #24.