When using outlining in Visual Studio ("Edit" tab -> "Outlining") one can add an outline block for collapsing, or to stop outlining altogether. But how do I remove a single outline block?
Asked
Active
Viewed 901 times
2 Answers
2
Just place your cursor anywhere within the outlined block and hold down Ctrl while pressing M, then U on your keyboard.
The alternative is to click Edit -> Outlining -> Stop hiding current.
-
Thanks! I thought that was for un-collapsing an outline. – ispiro Jul 25 '12 at 13:49
-
Nope, you would do that with Ctrl + M + O (think O for "open"). ;) – Kjartan Jul 25 '12 at 13:51
-1
A region is defined in code by the #region tag
#region
// code here
#endregion
simply edit the code and remove the beginning and ending tags to remove a region.

Jason
- 86,222
- 15
- 131
- 146
-
Thanks, but I asked about "outlining", because while editing a CSS file (in Visual Web Developer) there's no in-built support for regions. I Changed the wording of the question now to avoid confusion. – ispiro Jul 22 '12 at 12:00