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?
...
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...
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 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
...
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.
...
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.
...
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...