Spotless Ideally, a code formatter can do more than just find formatting errors - it should fix them as well.
Follow along this notes. You will need to have at least Java 8 installed or some openJDK distribution, and Gradle on the PATH.
You can use some package management tool for windows. E.g. Chocolatey
- OpenJDK8 Zulu - Java Development Kits (OpenJDK build)
choco install zulu8 -y
- Gradle - Constructor and manager dependencies
choco install gradle --version 5.6.4 -y
Clone this repository, and fire up a command-line tool.
To know a code formatter can do more than just find formatting errors - it should fix them as well
To execute the next command line:
gradle compileJava
You can check unused import is removed out Alphanumeric class:
import java.lang.Number
I will continue to do things and expose notes, but existing many ways to support what I do:
- Pull requests are welcome a 💫
- Don't forget to give this Repository a 🌟
- Buy me a ☕