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

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

salfab opened this issue · comments

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.

duplicate