【问题标题】:How to configure my solution to show all projects collapsed on Visual Studio?如何配置我的解决方案以显示在 Visual Studio 上折叠的所有项目?
【发布时间】:2011-01-19 11:22:37
【问题描述】:

每次我从 SCM 检查我的解决方案时,我都必须手动折叠我的解决方案中的每个项目,以便对它有一个很好的了解。

我知道折叠的设置存储在.suo 文件中,该文件是二进制文件。我不想将此文件提交给 SCM,而是寻找一个 xml 标记,我可以将其放入 .sln 文件中,这样当我打开它时,所有项目都会折叠。

怎么做?

【问题讨论】:

    标签: visual-studio-2010 solution suo


    【解决方案1】:

    为 Visual Studio 安装 DPack 并使用“折叠所有项目”上下文菜单项 ;-)

    【讨论】:

      【解决方案2】:

      安装 Productivity Power Tools 并使用解决方案导航器而不是解决方案资源管理器:

      Solution Navigator 是一个新的工具窗口,其作用类似于增强的解决方案资源管理器。有了它,您可以:

      * 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!) 
      

      它还有一个全部折叠按钮。

      【讨论】:

        【解决方案3】:

        帮助我的最小插件是Collapse Selection In Solution Explorer

        【讨论】:

          猜你喜欢
          • 2017-06-05
          • 2021-01-30
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 2021-10-30
          • 2017-04-23
          • 2011-02-26
          相关资源
          最近更新 更多