How to create my own 'Reformat Code' style in Android Studio?

前端 未结 3 636
星月不相逢
星月不相逢 2021-01-18 03:16

In Eclipse,(Window -> Preferences -> Java -> Code Style -> Formatter) there was a facility to create my own format style and apply it in the code. Is there a way to do that

3条回答
  •  既然无缘
    2021-01-18 03:29

    In Android Studio 3.3.2 (running in Mac OS) "Android Studio" -> "Preferences" -> "Editor" -> "Code Style" -> "Java".

    I would be useful to find a way to export/import only code format settings in order to share them between the team.

提交回复
热议问题