0

I want to edit the reformating which comes with the official Android ADT in eclipse, is this possible?
I want, for example, remove the break after a long class decleration.

I have the official AOSP source on my computer and found a the android-formatting.xml, is it the same as in the Android ADT? If yes, How can I override the ADT formatting and can use my custom file which I can import (a modified android-formatting.xml).

4

1 回答 1

1

例如,我想在长时间的课后取消休息。

我不知道 Android 为 Java 类指定了任何格式。这是由 Eclipse 处理的,并且可以在 Eclipse 内部进行修改(Preferences > Java > Code Style > Formatter)。

于 2012-09-24T15:46:57.837 回答