Did anyone create the Java Code Formatter Profile for Eclipse IDE that conforms to the Android Code Style Rules?

后端 未结 5 2077
轮回少年
轮回少年 2021-01-30 04:53

Android Code Style Guide defines \"Android Code Style Rules\".
To conform to these rules one have to change quite a number of settings of the Java Code Formatter (Window->Pr

5条回答
  •  Happy的楠姐
    2021-01-30 05:00

    There are pre-made formatter rules available from the platform/development.git repository (GitHub mirror, in folder /ide/eclipse).

    So you can simply import android-formatting.xml and android.importorder as mentioned here.

提交回复
热议问题