|XML custom conde formatter [message #514708]
||Tue, 16 February 2010 07:11
| Simone Pezzano
Registered: November 2009
The basic code formatter in XML/XSL editing does not behave in a hierarchical way.
If I type : <element> and hit return, the cursor ends up just under the "<" instead of moving a tab forward, to show the hierarchical relationship with the parent node (like Java editor would do, in presence of a curly bracket).
I know this is a common behavior for all Eclipse editors, and this is pretty smart and correct in most cases, but I was wondering if there's a way to set a custom formatter to the XML editor, to achieve this result.
I'm pretty familiar with WTP development but I couldn't find my way in there, so any hint that might require editing the editor core itself are welcome as well (for exploration purposes).
Of course, any information about community purposes to include this feature are very welcome.
Thank you in advance for you great help