Clean Up Messy Imports With Optimize Imports

Quickly remove any unused imports and more.

00:00
00:00

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 JSON to classes or records
Convert JSON to classes or records
Turn any JSON data you have into a class or record
Inlay Hints
Inlay Hints
Inlay hints provide additional information about your code.