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

Arrays
Arrays
Arrays are a straightforward and traditional way to work with a set of data.
HashSet<T>
HashSet<T>
Use the HashSet<T> type for high performing data sets with unique elements.
Dictionary<T>
Dictionary<T>
Use the Dictionary<TKey, TValue> type for strongly-typed, dynamic, sets of data stored with keys and values.