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

as a user, I want my active document to stay the same before and after an autoformat in all cases. #1

Closed salfab closed 12 years ago

salfab commented 12 years ago

Active document is changed if document to format is not the active one.

repro step :

  1. open 2 documents
  2. edit document 1
  3. show document 2 ( make it active)
  4. hit Ctrl Shift S

expected behavior :

whatever happens during the AutoFormat, I want the document that was active before the operation to be active again once the operation is over.

actual behavior :

the current document is changed to the document which was saved.

salfab commented 12 years ago

duplicate