如何在“解决方案资源管理器”中查看活动视图 C# 类?
我有一个解决方案,里面有很多项目。 我构建了解决方案并出现了一些编译错误。 双击错误将打开一个名为 FileA.cs 的类文件。 我不知道如何在“解决方案资源管理器”窗格中查看 FileA.cs。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我有一个解决方案,里面有很多项目。 我构建了解决方案并出现了一些编译错误。 双击错误将打开一个名为 FileA.cs 的类文件。 我不知道如何在“解决方案资源管理器”窗格中查看 FileA.cs。
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
您有 2 个没有宏的选项,要么始终启用跟踪,要么绑定一个键来切换它:
如果您想始终启用跟踪:启用 在解决方案资源管理器中跟踪活动项目 选项,但请注意,保留此选项会导致一些性能损失。通过工具>到达此位置选项 > 项目和解决方案 > 常规
或者,绑定一个键来打开和关闭此功能(但您必须按两次)。
第三,宏选项,创建这个宏并绑定到一个键,这样你就不必按两次来禁用它:
You have 2 options without macros, either always enable tracking, or bind a key to toggle it:
If you want to always enable tracking: Enable the Track Active Item in Solution Explorer option, but note there's some performance penalty is leaving this on. Get to this by Tools > Options > Projects and Solutions > General
Alternatively, bind a key to turn this on and off (but you'll have to hit it twice).
Third, macro option, make this macro and bind to a key so you don't have to hit it twice to disable it: