[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Custom folding

Peter wrote:
I like the folding feature that allows you to hide/show functions.

What would be really cool is if I could define a fold for a *set* of functions, like all my getters/setters, all the base class overrides, all the constructors, etc. That way I can fold/expand all my constructors and view them at a glance and then stash them away quickly.

Is there a way of defining custom folds in Eclipse?

Using the UI, no. You can however contribute your own IJavaFoldingStructureProvider if you care to write one.


-tom