Clean Up Messy Imports With Optimize Imports

Quickly remove any unused imports and more.

With the Optimize Imports action ⌃⌥O (macOS) / Ctrl+Alt+O (Windows/Linux), you can quickly remove any unused imports, merge imports from the same module, and optionally sort the import statements.


Related Resources

Convert Class to Record
Convert Class to Record
Use inspections to convert classes to Java 16 records.
Evaluate JSON Path Expressions
Evaluate JSON Path Expressions
Use IntelliJ IDEA to check if your JSON Path expression are correct.
Create New Class
Create New Class
Quickly add new classes to your project.