强制解决方案资源管理器在Visual Studio 2005的编辑器中选择文件

强制解决方案资源管理器在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.