سؤال

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?

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top