how does code folding work? [message #241122] |
Thu, 13 May 2004 06:20 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mamooth.hotmail.com
After enabling code folding in the latest builds, it does not detect all
the java code blocks (such as control structures, brackets, etc...). I was
wondering if it was designed this way or if there is some way to enable
the java code block detection.
Thanks in advance
|
|
|
|
Re: how does code folding work? [message #241246 is a reply to message #241138] |
Thu, 13 May 2004 16:53 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: smesh.openrules.com
> The standard folding does not currently allow for folding of blocks or
> arrays and such. However, you can provide your own folding structure
> provider that defines which regions of a document should be foldable.
>
> See the org.eclipse.jdt.ui.foldingStructureProvider extension point.
Does the simpliest provider *fold selected region* exist?
--
Sam Mesh - http://openrules.com
|
|
|
Re: how does code folding work? [message #241353 is a reply to message #241138] |
Fri, 14 May 2004 04:18 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: mamooth.hotmail.com
Unfortunately as there are no examples and I have never written for the
eclipse platform, I think I will have to wait for documentation or some
simple examples.
Thanks anyways
Tom Eicher wrote:
> John Wright wrote:
> > After enabling code folding in the latest builds, it does not detect all
> > the java code blocks (such as control structures, brackets, etc...). I was
> > wondering if it was designed this way or if there is some way to enable
> > the java code block detection.
> The standard folding does not currently allow for folding of blocks or
> arrays and such. However, you can provide your own folding structure
> provider that defines which regions of a document should be foldable.
> See the org.eclipse.jdt.ui.foldingStructureProvider extension point.
> -tom
|
|
|
Powered by
FUDForum. Page generated in 0.03816 seconds