Organize Imports

From FDT Documentation

(Difference between revisions)
Jump to: navigation, search
 
(One intermediate revision not shown)
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.
Line 4: Line 5:
= <center>Video</center> =
= <center>Video</center> =
{{#widget:Vimeo|id=25401511|width=600|height=400}}
{{#widget:Vimeo|id=25401511|width=600|height=400}}
 +
 +
[[File:Missing_import_01.png|600px]]
 +
[[File:Missing_import_02.png|600px]]
 +
[[File:Missing_import_03.png|600px]]

Latest revision as of 20:52, 6 July 2011

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. With our Main class active in the editor, use the Organize Imports key stoke to get rid of that unused 'Shape' import statement.

Video

Missing import 01.png Missing import 02.png Missing import 03.png

Get FDT5