VS 2012:将解决方案资源管理器滚动到当前文件 [英] VS 2012: Scroll Solution Explorer to current file
问题描述
VS2010具有查看文件会自动导致解决方案资源管理器滚动到该文件的功能.
VS2010 had the feature that viewing a file would automatically cause Solution Explorer to scroll to that file.
使用VS2012,不再可以在IDE中查看不同的文件并自动在解决方案资源管理器中选择文件.
With VS2012, viewing different files from within the IDE no longer scrolls and select the file in Solution Explorer automatically.
是否可以恢复此功能?某处有设置吗?如果是这样,如何/在哪里?
Is it possible to get this feature back? Is there a setting somewhere? If so, how/where?
推荐答案
是的,您可以在
工具->选项->项目和解决方案->在解决方案资源管理器中跟踪活动项
Tools - > Options - > Projects and Solutions - > Track Active Item in Solution Explorer
默认情况下它处于关闭状态(您已经注意到),但是一旦打开,Solution Explorer将扩展文件夹并在您切换文件时突出显示当前文档.
It's off by default (as you've noticed), but once it's on, Solution Explorer will expand folders and highlight the current document as you switch between files.
这篇关于VS 2012:将解决方案资源管理器滚动到当前文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!