Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [andmore-dev] Bug 484560

Here is the history on the bug:

https://code.google.com/p/android/issues/detail?id=20450
https://android.googlesource.com/platform/sdk/+/153c1190728b752c81c2f2f836fdd397e037938a

I had opened a bug/feature request with the Eclipse Web Tools project to allow specification of the priority or what XML formatter should be used as a default.

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

Nothing has happened with it yet.

As for why it matters, if you have a mixed team of developers that are working with the XML files between Android Studio and Eclipse, it is nice to keep the XML format in a consistent way.     The Android XML formatter is also more consistent in the way it formats the XML files, and the source Editors will always choose their own formatter, it is the source formatting from the menus that starts to mess things up.

Dave


On 12/18/15 6:04 PM, Doug Schaefer wrote:
That's pretty crappy. Is there something we can do in platform plug-ins to support this? Also, why does the format matter?

Doug.

On Fri, Dec 18, 2015 at 3:28 PM, David Carver <kingargyle@xxxxxxxxx> wrote:
Kaloyan,

https://github.com/eclipse/andmore/pull/110

In regards to the non-standard overlay name.   I believe this was done to force the ADT's xml formater to take precendence, as there is no way to specify which one is taken if there is more than one, when you do a Source->Format.   If the ADT one is not the first one, than the default xml formatter provided by XML Web Tools takes precendence and it doesn't format the files the same way.

There were some notes I believe in the original code as to why the named that overlay that particular way.

Dave

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



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


Back to the top