IntelliJ IDEA lets you manage your imports in Scala the same way as it does in other languages.

You can configure the imports in the Project Settings and in the IDE Setting.

1.Project Settings

Project Settings
Code
Scala Imports

2.IDE Settings

You also can configure the behavior of the imports in the editor through the IDE Settings.

IDE Settings
Editor
Auto Import

 You can select the following options:

3.Optimizing Imports

You can optimize imports using

Code
 →
Optimize Imports
command.

In this dialog box, specify from where you want IntelliJ IDEA to remove unused import statements, in order to optimize the import procedure.