Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Enabling folding in XML editor
Enabling folding in XML editor [message #166668] Wed, 12 April 2006 21:41 Go to next message
David M. Karr is currently offline David M. KarrFriend
Messages: 143
Registered: July 2009
Senior Member
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?
Re: Enabling folding in XML editor [message #169958 is a reply to message #166668] Tue, 23 May 2006 20:52 Go to previous message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHIS.ibm.com

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.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=85776

"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."

And to track when folding will officially be added, see:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=73271

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?
>
Previous Topic:Webapp with internal tomcat
Next Topic:some key bindings lost in our editor
Goto Forum:
  


Current Time: Thu Nov 27 10:59:07 GMT 2014

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

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