如何在Visual Studio 2010的解决方案资源管理器中找到文件? [英] How to locate a file in Solution Explorer in Visual Studio 2010?
问题描述
我有多个项目的庞大解决方案.有时我需要导航到 Solution Explorer 中的文件.使用VS 2010的"导航至"功能,我可以在Visual Studio 2010中按名称打开任何文件,但是我也希望能够在 Solution Explorer 中选择文件吗?
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' feature I can open any file by name in Visual Studio 2010 but I want to be able to select the file in Solution Explorer as well?
推荐答案
在解决方案资源管理器中,有一个选项可以跟踪活动(打开和查看)的项目.如果该文件在视图中,则将在解决方案资源管理器中选择该文件.
There's an option to track the active (open and viewed) item in the solution explorer. If the file is in view, the file in the solution explorer will be selected.
工具->选项->项目和解决方案->在解决方案资源管理器中跟踪活动项
Tools->Options->Projects and Solutions->Track Active Item in Solution Explorer
这篇关于如何在Visual Studio 2010的解决方案资源管理器中找到文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!