The plugin will not be enabled by default. To enable it in the current project, go to "File→Settings...→google-java-format Settings" and check the "Enable" checkbox.
To enable it by default in new projects, use "File→Other Settings→Default Settings...".
- Build
google-java-format*all-deps.jarby runningmvn installin thecoredirectory. - Create a new "IntelliJ Platform Plugin" project.
- Add the
google-java-format.imlmodule to this project by doingFile→New→Module from Existing Sources...and selecting theimlfile. - Under "File→Project Structure→Libraries" add
core/target/google-java-format*all-deps.jarfile. IntelliJ will ask if you want to add it as a dependency to the google-java-format module. You do.