Java custom folding enabled

This commit is contained in:
Rustam.Vishnyakov
2012-02-03 13:28:36 +04:00
parent 30ea6d2edf
commit d957788916
3 changed files with 46 additions and 17 deletions
@@ -0,0 +1,19 @@
public class Test {
<fold text='My private fields'>// <editor-fold desc="My private fields">
private int x;
private int y;
// </editor-fold></fold>
<fold text='My methods'>// <editor-fold desc="My methods">
private void doSomething() <fold text='{...}'>{
StringBuilder s = new StringBuilder();
<fold text='My code'>// <editor-fold desc="My code">
s.append("a");
s.append("b");
// </editor-fold></fold>
System.out.println(s.toString());
}</fold>
// </editor-fold></fold>
}