Solved

Visual Studio 2008/2010: collapse code blocks without needing to use regions

Posted on 2010-09-17
1
921 Views
Last Modified: 2012-05-10
I think it would be very helpful if in my C# code I would be able to collapse code blocks like if statements and loops without needing to use regions.  Just like you can collapse methods, classes and namespaces.  If there isn't some setting that can be turned on in Visual Studio to allow this to happen, is there an Visual Studio addon that would allow this to happen?  Thanks.
0
Comment
Question by:josephdaviskcrm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 28

Accepted Solution

by:
strickdd earned 500 total points
ID: 33703910
You can highlight the selection you want to hide, right click, select Outlining, and the click Hide Selection (Ctrl + M, Ctrl + H). Other than that, I don't think there is really a way to do it.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question