Folding - I
22 June 2008I will introduce folding option provided by Eclipse which is very helpful if you wish to fold (collapse) elements of a class.
You might have experienced a situation where you have a class with lot of methods and comments. You may wish to collapse all the comments, or the methods or both to have a bird’s eye view of what the class is offering.
Right click on the left most line (border) of the class. A window will open in which Folding will display the option of your interest. The first option ‘Enable Folding’ will enable folding and doing so will enable other available options like:
Expand All
Collapse All
Reset Structure
Collapse Members
Collapse Comments
Remember, if you enable folding, you may collapse or expand methods and comments manually by clicking the plus or minus symbol (available on the left margin of method comment structure).
Continued …
Top Of Page | Trackback
If you found this page useful, consider linking to it. Simply copy and paste the code below into your web site.
It will look like this: Folding - I