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

前端 未结 13 1362
盖世英雄少女心
盖世英雄少女心 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 08:11

    VS2012 added a new command called SolutionExplorer.SyncWithActiveDocument. The default shortcut for c# is Ctrl+[,S

    This command will navigate to the active file in the Solution Explorer.

    Also, it seems that you need to have the "Track Active Item in Solution Explorer" option turned off.

提交回复
热议问题