Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Though MS officially replied that VS is lack of this feature, there's a workaround using macro. I found it yesterday and also added it in this posting:</p> <p><a href="https://connect.microsoft.com/VisualStudio/feedback/details/520449/window-pending-changes-does-not-remember-flat-or-hierarchical-view" rel="nofollow">https://connect.microsoft.com/VisualStudio/feedback/details/520449/window-pending-changes-does-not-remember-flat-or-hierarchical-view</a></p> <p>FYI, this is the workaround that I added there:</p> <hr> <p>(I am using VS 2008 but this trick may work for VS 2010. The details below are for VS 2008.)</p> <p>A startup macro can be used to workaround this issue. Follow these steps:</p> <ol> <li>Open VS, make sure that Pending Changes pane is showing in Flat View and close it.</li> <li>Run Tools > Macros > Record TemporaryMacro.</li> <li>Select View > Other Windows > Pending Changes. Then hit Folder View button in Pending Changes.</li> <li>Finish macro recording and open Macros IDE (Tools > Macros > Macros IDE...).</li> <li><p>There should be TemporaryMacro() recorded under RecodingModule macro. Copy the contents of the subroutine. In my case, it was:</p> <p>DTE.ExecuteCommand ("View.TfsPendingChanges")</p> <p>DTE.Commands.Raise("{FFE1131C-8EA1-4D05-9728-34AD4611BDA9}", 4804, Customin, Customout)</p></li> <li><p>In the Macros IDE, go to EnvironmentEvents. In the dropdowns at the top of the editor which look like Types/Members selector of VS code editor, select "DTEEvents" and "OnStartupComplete" respectively.</p></li> <li>Event handler DTEEvents_OnStartupComplete() should have been generated. Paste the copied macro contents from step 5 above into the new event handler.</li> <li>Save changes and that's it.</li> </ol> <p>Steps above may look complicated but it's nothing more than recording pane opening and button clicking action as a macro and registering it in the startup event handler.</p> <p>Hope this helps. </p> <hr>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload