如何配置我的解决方案以显示 Visual Studio 上折叠的所有项目?
每次我从 SCM 检查我的解决方案时,我都必须手动折叠解决方案中的每个项目,以获得对其的良好概述。
我知道折叠的设置存储在 .suo
文件中,该文件是二进制的。我不想将此文件提交到 SCM,而是寻找一个可以放入 .sln
文件中的 xml 标记,这样当我打开它时,所有项目都会折叠起来。
怎么做呢?
Every time I check out my solution from the SCM I have to collapse manually each project in my solution to get a good overview of it.
I know that the collapsed settings are stored in a .suo
file, which is binary. I don't want to commit this file to the SCM, instead I am looking for a xml tag that I could put in the .sln
file so when I open it all projects are collapsed.
How to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
评论(3)
奢欲2024-10-19 22:31:13
安装高效生产力工具并使用解决方案导航器解决方案资源管理器:
解决方案导航器是一个新的工具窗口,其作用类似于增强的解决方案资源管理器。有了它,您可以:
* Expand code files to navigate to its classes, expand classes to navigate to their members, and so on (C# and VB only)
* Search your solution, all the way down to class members
* Filter your solution or projects to see just opened files, unsaved files, and so on
* View related information about classes and members (such as references or callers/callees for C#)
* Preview images by hovering over them, or preview rich information by hovering over code items
* We've also added support for multiple selection and drag & drop. (New!)
它还有一个全部折叠按钮。
~没有更多了~
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
安装 DPack for Visual Studio 并使用“折叠所有项目”上下文菜单项;-)
Install DPack for Visual Studio and use the "collapse all projects" context menu item ;-)