I am trying to find out whether NetBeans v7.1 can fold everything in a Java class except:
- class name
- member names
- method names
So this simple class:
public class Example {
private int someValue;
public Example() {
// Constructor logic
}
public void doSomething() {
// method body
}
}
Would fold into:
public class Example {
private int someValue;
public Example() { }
public void doSomething() { }
}
Do you know any Java IDE that can do this? If so please let me know which one.
Ok,
just type ctrl + shift + -
This should do the trick for you