Dual folding mode
Submitted by Friday, 5 January, 2007 - 13:51
on
I'd like to request a dual folding mode where the editor creates folds on indentation *and* explicit folds.
This would allow hiding of sections of code within methods etc. where indentation wouldn't make sense.
It would act much like Microsoft Visual Studio's "region" folding.
So you could have something like:
public class HelloWorld v { public static void Main() v { System.out.println("Hello World!"); v //{{{ Some code that can be folded. // Many lines of code here // Many lines of code here // Many lines of code here // Many lines of code here // Many lines of code here L //}}} L } public static void AnotherMethod() v { // Many lines of code here // Many lines of code here // Many lines of code here // Many lines of code here // Many lines of code here L } L }Which would fold into:
public class HelloWorld v { public static void Main() v { System.out.println("Hello World!"); > //{{{ Some code that can be folded. //}}} L } public static void AnotherMethod() > { } L }I hope that made sense. Thanks, Brian Peiris