Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Choose XML Formatter based on Priority

+1 for finding a way to do this better. 

Btw. What is so special about the android xml to not just be handled by a normal xml formatter?

Could it be fixed by improving the default xml formatter ?

/max


On 13 Mar 2015, at 18:48, David Carver <d_a_carver@xxxxxxxxx> wrote:

In the Andmore project we have an inheritted the ADT XML formater.  Right now it is taking precedence over any other formatter.  So when you try to do a Source->Format on a project and you have the ADT plugins installed, the XML Formatter from ADT is taking over for all XML files.   I checked the extension point, and there doesn't seem to be a way to specify that particular XML formatters should affect only particular files or content types.  This works correctly though if you format within an Editor as the editors control what formatter is used.

I have an open feature request to extend this mechanism so we can get finer grained control and only have the Andmore formatter affect the andmore related files.

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

Dave

_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Back to the top