Home
Smart insert
To toggle the editor between smart insert and insert modes, press Ctrl+Shift+Insert. When the editor is in smart insert mode, the editor provides extra features specific to Java. For example, in smart insert mode, when you cut and paste code from a Java source to another Java source, all the needed imports are automatically added to the target Java file.
To configure the smart insert mode, select Window Æ Preferences. In the Preferences dialog, select Java Æ Editor Æ Typing, and study the different options.
Note the small text at the bottom of the window as it changes from Smart Insert to Insert when you press Crtl+Shift+Insert.
ibm.com/redbooks