Is there a command line way to invoke the java code formatting feature of Eclipse? Also, is there a way to configure the way it formats the code via command line?
The goal is to have a common code formatting mechanism for the entire team and automate that step prior to check in of code.
Window -> Preferences -> Java -> Editor -> Save Action -> Format source code (Format all lines & Imports)
ajay try this post, there are some step-by-step instructions included here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With