#Region #End Region issue

S

SAL

When working in the Code-behind of ASP.net using VS2005, if you create a
#Region "SomeName" #End Region, and close VS2005 then reopen it all your
#Region #End Region collapses.

Is there a setting in VS2005 that prevents this from happening, because this
makes it difficult to work on projects that you want to come back to later
and what to leave a #Region expanded so you know where you left of or know
what you were working on before?

Thanks,
 
G

Guest

When working in the Code-behind of ASP.net using VS2005, if you create a
#Region "SomeName" #End Region, and close VS2005 then reopen it all your
#Region #End Region collapses.

Is there a setting in VS2005 that prevents this from happening, because this
makes it difficult to work on projects that you want to come back to later
and what to leave a #Region expanded so you know where you left of or know
what you were working on before?

Thanks,

These settings can be found in Edit - Outlining

You can switch the outlining off - Edit - Outlining - Stop Outlining
(alternative to Start Automatic Outlining)

Another way is to use the hot keys:

Toggle All Outlining Ctrl+M, Ctrl+L
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top