How to locate a file in Solution Explorer in Visual Studio 2010?

前端 未结 13 1332
盖世英雄少女心
盖世英雄少女心 2020-12-07 07:09

I have a huge solution with multiple projects. Sometime I need to navigate to a file in Solution Explorer. Using the VS 2010 \'Navigate To\

13条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-07 07:56

    In Visual Studio 2010 you can turn on the "Track Active Item in Solution Explorer" option. This will mean whenever you switch between documents the new document gets selected in Solution Explorer. This can be irritating if your solution has lots of folders, because as you move around files in your solution all the folders will be left open.

    Visual Studio 2012 introduced the new "Sync with Active Document" feature. Three is a button for it at the top of Solution Explorer, or you can use the shortcut Ctrl + [, S.

提交回复
热议问题