强制解决方案资源管理器在Visual Studio 2005的编辑器中选择文件 [英] Forcing the Solution Explorer to select the file in the editor in visual studio 2005

查看:64
本文介绍了强制解决方案资源管理器在Visual Studio 2005的编辑器中选择文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio 2005中,每当我在主编辑器中查看文件时,解决方案资源管理器都会查找并突出显示该文件.一段时间前,它停止工作,解决方案资源管理器什么也没做.

In Visual Studio 2005, whenever I would view a file in the main editor, the Solution Explorer would find and highlight that file. Some time ago, this stopped working and the Solution Explorer would do nothing.

这已经变得很痛苦,因为遵循转到定义"链可以引导您解决所有问题.重新启用此设置的位置在哪里?

This has become quite a pain since following a chain of "Go To Definition"s can lead you all over your solution. Where is the setting to turn this back on?

推荐答案

单击工具"→选项"菜单.选择项目和解决方案"→常规"选项页.

Click on the Tools → Options menu. Select the Projects and Solutions → General option page.

确保已选中在解决方案资源管理器中跟踪活动项目".那应该做.

Make sure "Track active item in Solution Explorer" is checked. That should do it.

这篇关于强制解决方案资源管理器在Visual Studio 2005的编辑器中选择文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆