Custom folding [message #143178] |
Wed, 15 March 2006 10:42  |
Eclipse User |
|
|
|
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?
Thanks,
Pete
|
|
|
Re: Custom folding [message #143303 is a reply to message #143178] |
Thu, 16 March 2006 01:39  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07854 seconds