如何在 Visual Studio 2010 的解决方案资源管理器中定位文件? [英] How to locate a file in Solution Explorer in Visual Studio 2010?
问题描述
我有一个包含多个项目的巨大解决方案.有时我需要导航到解决方案资源管理器中的文件.使用 VS 2010 的导航至"功能,我可以在 Visual Studio 2010 中按名称打开任何文件,但我也希望能够在 解决方案资源管理器 中选择文件?
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屋!