If you want Eclipse to automatically tidy up your list of import statements and indent your code each time you save:
1. Open Preferences
2. Go to Java > Editor > Save Actions
Select (tick) Perform the selected actions on save and choose "Format Source Code", "Organize imports" and [any] "Additional actions"
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(37)
-
▼
April
(6)
- XSLT, text-transform:captialize and Excel workbooks
- Structure for Regular Expressions in Javascript
- SQL Server : Granting EXEC on Stored Procedures
- Eclipse : Save Actions for autoformatting code and...
- Eclipse : Display heap status (like IntelliJ IDEA)
- Eclipse : Display Java Type Indicator for classes
-
▼
April
(6)
No comments:
Post a Comment