Organize Imports

From FDT Documentation

(Difference between revisions)
Jump to: navigation, search
(Created page with "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 ctrl+s...")
Line 1: Line 1:
-
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 ctrl+shift+0 (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 [43], use the Organize Imports key stoke to get rid of that unused 'Shape' import statement [44].
With our Main class active in the editor [43], use the Organize Imports key stoke to get rid of that unused 'Shape' import statement [44].
[edit]
[edit]

Revision as of 12:12, 21 June 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 [43], use the Organize Imports key stoke to get rid of that unused 'Shape' import statement [44]. [edit]

Get FDT5