Turn Off or On Outlining

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

Turn Off or On Outlining

  • Comments 6

Keyboard:  CTRL + M, CTRL + P (stop outlining)
Menu:  Edit -> Outlining -> Stop Outlining; Edit -> Outlining -> Start Automatic Outlining
Command:  Edit.StopOutlining; Edit.OutliningStartAutomaticOutlining
Versions:  2008,2010
Published:  3/19/2010
Code:  vstipEdit0033

 

If you don't like the Outlining feature in Visual Studio:

image

 

You can turn it off one of two ways:

  1. Hit CTRL + M, CTRL + P on your keyboard
  2. Go to Edit -> Outlining -> Stop Outlining on your Menu Bar

 

To turn it back on, go to Edit -> Outlining -> Start Automatic Outlining on your Menu Bar.  Ironically, there is no keyboard shortcut for turning Outlining back on.

  • Apart from the missing shortcut to start outlining, I find it a bit odd that the menu command for stopping is "Stop Outlining", while the start command is called "Start *Automatic* Outlining".

  • when I use CTRL+M+P, it is toggle out first time, but after that I can not toggle out any more till I reopen the file.

  • I have outlining turned-on but nothing appears, I have to force is by manually selecting a block then choosing collapse block from the menu then the plus symbol appears.

    Is it broken!?

  • @Rich

    In VS2010 It can be a little wierd sometimes.  Try turning it off, then closing the file, then open it again, and finally turn it on.  If that doesn't work there may be another issue with your outlining.

    If you are in VS2008 then go to Tools - Options - Text Editor - General, and make sure Selection Margin is checked.  If this is turned off the left-margin that indicates a code block is gone but outlining still works.  

  • I'm using VS2008, and every time I collapse a block, after a few seconds it opens and there are no more minus signs at the begining of an block.. it's a little frustrating, especially when I have to scroll up a large block of code... does anyone know why this happens? (Thanks)

  • "Right click the master page and select Open With > Then select Master Page Editor with Encoding > Select Auto Detect for the option. It may take a second or two but the outlining should appear." This tip from a colleague at PointBridge: blogs.pointbridge.com/.../Schwenker_Andrew

Page 1 of 1 (6 items)
Leave a Comment
  • Please add 5 and 5 and type the answer here:
  • Post