Organize Imports
From FDT Documentation
(Difference between revisions)
Line 1: | Line 1: | ||
+ | [[File:Organize.png]] | ||
During the course of writing code, either you will need to import an object into your class or unused imports will accumulate. Using Organize Imports, CMD+SHIFT+O (OSX) or CTRIL+SHIFT+O (Win) will both remove unused import statements and add any import statements your code needs. | During the course of writing code, either you will need to import an object into your class or unused imports will accumulate. Using Organize Imports, CMD+SHIFT+O (OSX) or CTRIL+SHIFT+O (Win) will both remove unused import statements and add any import statements your code needs. | ||
With our Main class active in the editor, use the Organize Imports key stoke to get rid of that unused 'Shape' import statement. | With our Main class active in the editor, use the Organize Imports key stoke to get rid of that unused 'Shape' import statement. |
Latest revision as of 20:52, 6 July 2011
During the course of writing code, either you will need to import an object into your class or unused imports will accumulate. Using Organize Imports, CMD+SHIFT+O (OSX) or CTRIL+SHIFT+O (Win) will both remove unused import statements and add any import statements your code needs. With our Main class active in the editor, use the Organize Imports key stoke to get rid of that unused 'Shape' import statement.
Video