Skip to content
A Visual Studio Extension that adds the "Collapse Everything Else" command. Collapses all code outlining block with the exception of the one currently focused.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Properties
Resources
.gitattributes
.gitignore
CollapseEverythingElse.cs
CollapseEverythingElse.csproj
CollapseEverythingElse.sln
CollapseEverythingElsePackage.cs
CollapseEverythingElsePackage.vsct
Key.snk
License.txt
Readme.md
VSPackage.resx
VsSdkExtensions.cs
WindowFrameEnumerable.cs
WindowFrameEnumerator.cs
packages.config
source.extension.vsixmanifest

Readme.md

Collapse Everything Else Extension for Visual Studio

A simple Visual Studio extension that allows you to collapse all outlining sections in the current document except for the currently highligted one.

Usage

Adds a new menu item: Edit > Outlining > Collapse Everything Else

By default, the command is bound to the shortcut key Ctrl+M,S (e.g. Collapse 'some').

Installation

Install this extension using the .vsix from the latest release.

Implementation

For more details on the implementation of the extension, see the writeup I did of the process.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.