Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add Formatter settings to Eclipse and IntelliJ projects with Gradle

I'd like to automatically include the formatter settings I ship in my repo (in fact the one from Google) in the project settings for both Eclipse and IntelliJ using gradle.

Maybe I can tinker with the generated XML settings, but I'm not sure how, nor do I know how either IDE stores these settings.

like image 483
BrainStone Avatar asked Oct 18 '22 05:10

BrainStone


1 Answers

I suggest using http://editorconfig.org/, it covers the most common use-cases and it's portable between most editors.

like image 134
highstakes Avatar answered Oct 20 '22 05:10

highstakes