- Start typing a name in the editor. If the name references a class that has not been imported,
the following prompt appears:

Note
If you the pop-up annoys you, change this behavior for the current file. Just click Hector
in the Status bar, and clear
the check box Import Pop-up:

The unresolved references will be underlined, and you will have to invoke intention action Add import explicitly.
- Press Alt+EnterAlt Enter. If there are multiple choices, select the desired
import from the list.

Tip
If the option Add unambiguous imports on the fly is checked, IntelliJ IDEA does not inform you about the needed import, if there is only one choice, and adds the only possible import automatically.
- Open the desired file for editing, and start typing a tag. If a namespace is not bound, the following prompt appears:

-
Press Alt+EnterAlt Enter. If there are multiple choices, select
the desired namespace from the list.

Depending on the file type, IntelliJ IDEA creates a namespace declaration, or a taglib:


