code-regions

Need help with a macros for Visual Studio to cancel outlining at file open...

As you can guess from the title, the outlining with regions finally made me sick. I remember reading in comments somewhere that it is possible to have a macros to perform this task. Since I haven't ever written a single macros fro VS, I ask for community assistance. How? ...

Can you set some sort of custom code folding in Netbeans like in Visual Studio

When working on C#, I often do this: #region Properties public int Property1{get;set;} ...(more properties) #endregion This makes Visual Studio add the option to fold the code inside the region. Offcourse, you can use regions for anything, it's not limited to Properties or anything at all. I'm wondering 2 things: Is this just s...

how to organize the code similar to #region/#endregion in .NET?

Hi, While the code is growing big it is getting harder and harder to keep everything well organized. One thing I liked very much the time I developed in .NET was #region/#endregion which enabled to organize the code in logical groups and made further organization much easier. Does anyone know whether there is any similar code organizat...

how to implement regions/code collapse in javascript

How can you implement regions a.k.a. code collapse for JavaScript in Visual Studio? If there are hundreds of lines in javascript, it'll be more understandable using code folding with regions as in vb/C#. #region My Code #endregion ...

Regions in Delphi - is it possible to define them unfold by default?

Since Delphi 2005 Borland/CodeGear introduced the regions in the IDE. It is good idea but in some casses I want my reginos to be unfolded by default in other folded. If there argument or options that will do the job? I'm using Delphi 2007. ...

Regions/code collapse in Javascript in Visual Studio 2010

Is it possible to create code regions in JS files in Visual Studio 2010? This method works in 2005, but I can't get working in 2010. ...

Why aren't code regions allowed within method bodies in VB.NET?

Normally I wouldn't "need" or even consider a ridiculous feature such as code regions within method bodies but: I'm refactoring VB.NET code where methods routinely run five hundred lines and the references are so tightly coupled that the code defies simple refactoring such as method extraction. And that's why I thought I would try regi...