Skip to content

Add "formatter" plugin - #57

Merged
forax merged 1 commit into
masterfrom
formatter
Mar 17, 2018
Merged

forax merged 1 commit into
masterfrom
formatter

Conversation

@sormuras

Copy link
Copy Markdown
Collaborator

Based on https://github.com/google/google-java-format -- a program that formats Java source code to comply with Google Java Style:

https://google.github.io/styleguide/javaguide.html

Prior to this commit, the "fake-guava" module baked into pro's internal modules prevented classes to be loaded from the "all-deps" JAR. Using java's auto-module feature makes the format program execution possible.

Use the following configuration to actually format all sources:

  set("formatter.rawArguments", list("--replace"))
  run("formatter")

Based on https://github.com/google/google-java-format -- a program that
formats Java source code to comply with Google Java Style:

https://google.github.io/styleguide/javaguide.html

Prior to this commit, the "fake-guava" module baked into pro's internal
modules prevented classes to be loaded from the "all-deps" JAR. Using
java auto-module feature makes the format program execution possible.

Use the following configuration to actually format all sources:

  set("formatter.rawArguments", list("--replace"))
  run("formatter")
@sormuras sormuras mentioned this pull request Mar 17, 2018
1 of 4 tasks
@forax
forax merged commit 28a570b into master Mar 17, 2018
@sormuras
sormuras deleted the formatter branch March 17, 2018 10:43
@sormuras
sormuras restored the formatter branch April 10, 2018 08:09
@sormuras
sormuras deleted the formatter branch April 10, 2018 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants