Optimize imports

Remove unused imports from your code

Optimize Imports using the shortcut ⌃⌥O (macOS) / Ctrl+Alt+O (Windows/Linux), or configure IntelliJ IDEA to Optimize imports on commit, or even on the fly by enabling Optimize imports on the fly.


Related Resources

Expand and Collapse Code
Quickly view specific parts of a class by expanding or collapsing code
Move Statement
Move a statement up or down
Rename bookmark
Rename an existing bookmark