473,560 Members | 2,965 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to disable regions in Visual Studio?

Hi everybody,

Can somebody tell me how to disable regions in Visual Studio 2005?

I've already told VS not to collapse code to regions in the settings, but
each time I open a new (existing) code file from a project, the regions are
there again (and collapsed).

This is really beginning to annoy me, so I'd really like to find a solution
to get rid of these regions. Is there another setting I've missed?

Thanks very much!

Ikke
May 12 '06 #1
6 2366
Why don't you just remove the region statements themselves?

May 12 '06 #2
Also, with VS2005, you can right click in the editor and select
Outlining > Stop All Outlining.

Perhaps that will help

May 12 '06 #3
"Chris Dunaway" <du******@gmail .com> wrote in news:1147448464 .671092.215750
@v46g2000cwv.go oglegroups.com:
Also, with VS2005, you can right click in the editor and select
Outlining > Stop All Outlining.

Perhaps that will help


Thanks, it did.

May 15 '06 #4
Ikke <ik**@hier.co m> wrote in news:Xn******** *********@195.2 38.0.34:
"Chris Dunaway" <du******@gmail .com> wrote in
news:1147448464 .671092.215750 @v46g2000cwv.go oglegroups.com:
Also, with VS2005, you can right click in the editor and select
Outlining > Stop All Outlining.

Perhaps that will help


Thanks, it did.


Or to put it in other words, it did not :)

When I open a file, the regions are there again. Is there a way to get rid
of those annoying things once and for all?

Its VS2003, by the way (I have both and was running the wrong one).

Thanks!
May 15 '06 #5
"Ikke" <ik**@hier.co m> wrote in message
news:Xn******** **********@195. 238.0.34...
Ikke <ik**@hier.co m> wrote in news:Xn******** *********@195.2 38.0.34:
"Chris Dunaway" <du******@gmail .com> wrote in
news:1147448464 .671092.215750 @v46g2000cwv.go oglegroups.com:
Also, with VS2005, you can right click in the editor and select
Outlining > Stop All Outlining.

Perhaps that will help


Thanks, it did.


Or to put it in other words, it did not :)

When I open a file, the regions are there again. Is there a way to get rid
of those annoying things once and for all?

Its VS2003, by the way (I have both and was running the wrong one).


Tools->Options

Then pick Text Editor, C#, Advanced and uncheck "Enter outlining mode when
files open" and maybe "Surround generated code with #region".

This is from VS2005 but, VS2003 has a similar (if not identical) setting.
May 15 '06 #6
"John Vottero" <JV******@mvpsi .com> wrote in
news:#l******** ******@TK2MSFTN GP02.phx.gbl:
"Ikke" <ik**@hier.co m> wrote in message
news:Xn******** **********@195. 238.0.34...
Ikke <ik**@hier.co m> wrote in news:Xn******** *********@195.2 38.0.34:
"Chris Dunaway" <du******@gmail .com> wrote in
news:1147448464 .671092.215750 @v46g2000cwv.go oglegroups.com:

Also, with VS2005, you can right click in the editor and select
Outlining > Stop All Outlining.

Perhaps that will help

Thanks, it did.


Or to put it in other words, it did not :)

When I open a file, the regions are there again. Is there a way to
get rid of those annoying things once and for all?

Its VS2003, by the way (I have both and was running the wrong one).


Tools->Options

Then pick Text Editor, C#, Advanced and uncheck "Enter outlining mode
when files open" and maybe "Surround generated code with #region".

This is from VS2005 but, VS2003 has a similar (if not identical)
setting.


Nope. I've changed those settings for C# and VB, but I still get those
annoying regions when I open an existing file.

Is there another editor perhaps, one that does not mess with the code I
write?

Thanks,

Ikke
May 16 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
8862
by: Jason Heyes | last post by:
This debugger-related warning is flooding my output window. Example: c:\program files\microsoft visual studio\vc98\include\xmemory(38) : warning C4786: 'std::pair<std::_Tree<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char > > const > >...
16
3412
by: Barry Gilmore | last post by:
Is there a way to disable a button after it is clicked? I am trying to avoid having someone click on it twice while they wait for it to process. Thank you!
7
2724
by: gaidar | last post by:
Hi, everybody, I'm just wondering if someone really need stuff like this: http://msdn2.microsoft.com/library/ms123401.aspx. If you answer yes than explain, please. Thanks! Gaidar
4
1646
by: ChairShot | last post by:
I want to disable intellisense. I'm using vb.net 2003 with visual studio. I am a college stundent and it is slowing me down so I can't finish my work. dos-man
1
1325
by: kwikgoal | last post by:
I am having a problem with selecting the DataList control from my toolbox. I added it to the toolbox, but when I go to the Windows Forms Tab, it shows up "greyed out". I can't left-click it or drag it onto my form. It is the only control like this (except when I tried Repeater which does the same thing). What do I need to do to enable Visual...
1
1126
by: Herman Jones | last post by:
How do I keep Visual Studio 2005 from remembering which forms and code modules I last had open? Every time I reopen a project it tries to put me back exactly where I was when I left. This means that I have to close all of the open windows to clean up the mess. In VB 6 all I had to do was clear out the contents of the project .vbw file and...
2
1563
by: badkarspiloten | last post by:
Hi there! I have just migrated from VS 2003 to VS 2005 and are getting lots of compile warnings when building my solution. Some of them I want to disable. I have managed to do this with my other projects (not web) by selecting the project in the project explorerer and right click and choose properties. Here I choose the compile tab and...
2
3904
by: Jon Paal | last post by:
how can I turn off / disable JIT debugger ?
4
979
by: John Devlon | last post by:
Hi, Does anyone know how to disable a partical validor by code (vb.net) ? Thanx John
0
7845
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8068
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7600
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5459
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5176
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1171
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
882
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.