Android Studio: porting Eclipse formatter xml

If you are working in the mix team of Eclipse and Android Studio you will need to share Eclipse formatter.xml to maintain the consistency.

On Mac:

- Android Studio > Preferences.. > search for Plugins
- Browse repositories... [button]
- Search for "Eclipse Code Formatter"
- Instal plugin [button]
- restart  Android Studio
- Android Studio > Preferences.. > Search for "Eclipse Code Formatter"
- find "Eclipse Java Formatter config file" > Browse > select your file
- Apply
- Select Java class to format > Code > Reformat code.. (Shift + command + f)











As an Amazon Associate I earn from qualifying purchases.

No comments:

Post a Comment

Post Scriptum

The views in this article are mine and do not reflect those of my employer.
I am preparing to cancel the subscription to the e-mail newsletter that sends my articles.
Follow me on:
X.com (Twitter)
LinkedIn
Google Scholar

Popular Recent Posts

Most Popular Articles

apt quotation..