Folding - I

22 June 2008

I 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.

Folding option

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).

Manual folding

Continued …

del.icio.us:Folding - I  digg:Folding - I  spurl:Folding - I  wists:Folding - I  simpy:Folding - I  newsvine:Folding - I  blinklist:Folding - I  furl:Folding - I  reddit:Folding - I  fark:Folding - I  blogmarks:Folding - I  Y!:Folding - I  smarking:Folding - I  magnolia:Folding - I  segnalo:Folding - I  gifttagging:Folding - I

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

Leave a Reply