Search code examples
eclipseformattingfolding

Is there any way to manually fold code in Eclipse?


Is there any way to manually create fold points in code in Eclipse? I know how to enable folding and how to set the auto preferences, but i like being able to set my own fold points so I can ignore certain parts of my code. Think regions in VS.
I know there is in VS and NetBeans, but I cannot find a way to set manual fold points in Eclipse.


Solution

  • I don't think Eclipse has built in manual folding, but I did use a previous version of the following plugin for it.

    Per the comment: The plugin has been recompiled for Eclipse 3.5 and is available at the Apache Isis site. A direct download link is also available. It also appears to work for Eclipse 3.6.