Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Custom folding
Custom folding [message #143178] Wed, 15 March 2006 15:42 Go to next message
Peter Salzman is currently offline Peter SalzmanFriend
Messages: 5
Registered: July 2009
Junior Member
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 06:39 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
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
Previous Topic:PHP in Eclipse
Next Topic:eclipse console no longer showing output
Goto Forum:
  


Current Time: Thu Dec 26 14:27:37 GMT 2024

Powered by FUDForum. Page generated in 0.08725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top