GitHub - aarij-nominal/palantir-java-format: A modern, lambda-friendly, 120 character Java formatter. · GitHub
Skip to content

About

A modern, lambda-friendly, 120 character Java formatter.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

1,769 Commits

Folders and files

Repository files navigation

Overview

Run this command to generate a shadow jar

./gradlew shadowJar

It will create a jar file in build/libs/palantir-java-format-<version>.

In VS code, set these settings

"palantir-java-format.allDepsJarPath": "/Users/aarij/Desktop/palantir-java-format/palantir-java-format/build/libs/palantir-java-format-2.58.0.dirty-all-deps.jar",
"palantir-java-format.additionalArgs": "--palantir"

Now, VS code will know how to format your Java files.

Note: In IntelliJ, the version of the formatter will be set in one of your build files. It will be something like this.

com.palantir.javaformat:gradle-palantir-java-format:2.58.0

You want to make sure this repo is the same version as your dependency. For example, you would have to checkout the commit at this tag to get the right version of the formatter.

About

A modern, lambda-friendly, 120 character Java formatter.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages