I'm using an UML tool that generates Java classes from the UML class diagram. Unfortunately the code inside is not indented.
How to solve this? How can I indent a file using Eclipse?
How to indent a Java source file in Eclipse:
Done.
(If you also want to correct the spacing, then use Ctrl+Shift+F or right click > Source > Format. This can be applied to a single file, or a group of files using the Project Explorer pane.)
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