sparty02 / prettier-java

Prettier Java Plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prettier Java

Check back soon :)


If you're interested in contributing to the development of Prettier for Java, you can follow the CONTRIBUTING guide from Prettier, as it all applies to this repository too.

To test it out on a Java file:

  • Clone this repository.
  • Run yarn.
  • Create a file called test.java.
  • Run yarn prettier test.java to check the output.
  • Run test.sh ../some_project/**/*.java it on your whole project and check for issues, check test_files/*.error (and compare with the .java and the prettier output *.prettier)
  • Check PREVIEW.md for current status of how how certain parts look like (generated automatically from the test cases)

About

Prettier Java Plugin


Languages

Language:JavaScript 80.3%Language:Java 17.1%Language:Shell 2.6%