When looking at a large Java file, I'd like to see a
summary of the whole file in one screen, while having
a piece of code of interest in full view.
Adding the ability to collapse/expand classes and
methods (top-level ones at least) would be very close
to what I need. A collapsed class/method would only
display its name (and signature for methods) while
hiding details like fields and methods, for classes,
and code and local variables for methods, while
keeping the rest of code in the Java file in its
original collapsed or uncollapsed form.
A tree (or forest) view of the file (only 2 levels
deep) would be enough for most practical purposes.
JSwat, a Java debugger, is a good example. It presents
very similar functionality to the one I am looking for
in DrJava.
(This is similar to feature request #1366157)
Logged In: YES
user_id=666678
Originator: NO
#1366157 is similar:
"I find it hard to keep track of all the methods in my
class when my program started to have more than 500
lines of code.
If you can make the source codes collapse or
expandable, it would be great. Another option is to
have a window that keep track of the the methods and
their parameters."