473,802 Members | 2,026 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 2382
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
8873
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 > > ,TextureRecord>,std::map<std::basic_string<char,std::char_traits<char>,std::allocator<char> > > ...
16
3462
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
2738
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
1656
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
1339
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 Studio (VB project) to allow me to select this DataList control? Is it something to do with the...
1
1135
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 then make it read-only so VB couldn't save the restore info when it shut down. How do I...
2
1583
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 can select what warnings to disable.
2
3935
by: Jon Paal | last post by:
how can I turn off / disable JIT debugger ?
4
987
by: John Devlon | last post by:
Hi, Does anyone know how to disable a partical validor by code (vb.net) ? Thanx John
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10538
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10305
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10285
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9115
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7598
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.