Skip to content

Installing the google styleguide settings in intellij and eclipse

Maxi Fischer edited this page Nov 1, 2017 · 6 revisions

Installing the coding style settings in Intellij

Download the intellij-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo.

Windows

Copy it into your config/codestyles folder in your IntelliJ settings folder. Under Settings -> Editor -> Code Style select the google-styleguide as current code style for the Metanome project.

Macintosh

Download it and go into Preferences -> Editor -> Code Style. Click on Manage and import the downloaded Style Setting file. Select GoogleStyle as new coding style.

Installing the coding style settings in Eclipse

Download the eclipse-java-google-style.xml file from the http://code.google.com/p/google-styleguide/ repo. Under Window/Preferences select Java/Code Style/Formatter. Import the settings file by selecting Import.