JS Ext

Tuesday, March 25, 2014

The Joys of Bulk Organize Imports

I discovered something accidentally while making changes to a file in Eclipse.  I habitually hit the Ctrl+Shift+O shortcut or organize the imports in the top of a Java file.  I didn't realize I had a folder in the Project Explorer window selected instead of the editor window.  When I performed the shortcut, every single Java file had their imports organized!  I quickly sent out an email to the developers instituting a new policy.  I am going to organize all the imports for all of our Java files once a week.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.