It probably could be added to the existing formatter. They just wanted the attributes to line up differently in many cases. I'll have to do a comparison between the two to see what are the main functional differences.

Dave

On 3/14/15 10:01 AM, Max Rydahl Andersen wrote:
+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
http://about.me/maxandersen


On 13 Mar 2015, at 18:48, David Carver <[email protected] <mailto:[email protected]>> 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
[email protected] <mailto:[email protected]>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev


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

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

Reply via email to