...
You can configure the imports in the Project Settings and in the IDE Setting.
1.Project Settings
You can format your imports using Project Settings.
span | ||
---|---|---|
| ||
Project Settings |
span | ||
---|---|---|
| ||
Code |
span | ||
---|---|---|
| ||
Scala Imports |
...
- Import Layout - this area lets you view the layout of the import statements, add
or remove
blank lines between them, and add
or remove
package names. You can also move the rows in the layout up or down
.
2.IDE Settings
You also can configure the behavior of the imports in the editor through the IDE Settings.
...