Eclipse/STS – Optimize/Remove unused imports shortcut keys
Ctrl + Shift + O is the shortcut key to optimize or remove the unused import from your code in Eclipse or Spring Tool Suite (STS) for the Windows/Linux operating system.
P.S. O is the alphabet letter O, not a number 0(zero).
Similar Post: IntelliJ IDEA– Remove/Optimize unused imports shortcut keys
1. Before

2. After

References
Similar Posts
- How to resize image dimension in Photoshop
- Deploy jasper reports in JasperReports Server using Parameters
- How to open folder on single click in Windows 7
- Eclipse/STS shortcut keys for Uppercase and Lowercase
- How to install Maven on Windows
- svn: There are unfinished transactions detected
- WAMP/XAMPP Server- .htaccess redirect rule not working on localhost
- Maven- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- How to install Apache 2.4 and PHP 8 on a Windows Machine
- IntelliJ IDEA – public static void main shortcut