It doesn't appear that "folding" is implemented in the XML editor in
Eclipse. This is odd, because there's even a code example that shows how
to write a custom plugin to do this
( http://www.eclipse.org/articles/Article-Folding-in-Eclipse-T ext-Editors/folding.html),
written almost exactly a year ago, so I figured this would have been
provided "out of the box" by now. Is this provided, perhaps in the long
anticipated 3.2 version?
Actually, the code for folding has been in WTP since 0.7, but it's still
in its experimental stage, which is why users need to specifically
enable it via a vm argument if they want to try it out.
"to enable add -Dorg.eclipse.wst.sse.ui.foldingenabled in VM args. this
adds
an "enable folding" preference to the Structured Text Editors preference
page
which users can then enable/disable."
David Karr wrote:
> It doesn't appear that "folding" is implemented in the XML editor in
> Eclipse. This is odd, because there's even a code example that shows
> how to write a custom plugin to do this
> ( http://www.eclipse.org/articles/Article-Folding-in-Eclipse-T ext-Editors/folding.html),
> written almost exactly a year ago, so I figured this would have been
> provided "out of the box" by now. Is this provided, perhaps in the long
> anticipated 3.2 version?
>