Auto import

Last modified: 05 March 2025

If you are using a class, a static method, or a static field that you have not imported yet, the IDE shows you a tooltip prompting you to add a missing import statement so that you do not have to add it manually. Press to accept the suggestion.

If there's more than one possible source of import, pressing will open the list of suggestions.

To change the background color for the import tooltip, press and go to Editor | Color Scheme | General | Popups and Hints | Question hint.