1

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?

ispiro
  • 26,556
  • 38
  • 136
  • 291

2 Answers2

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.

mins
  • 6,478
  • 12
  • 56
  • 75
Kjartan
  • 18,591
  • 15
  • 71
  • 96
-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