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

Eclipse/STS – Optimize/Remove unused imports shortcut keys

2. After

Eclipse/STS – Optimize/Remove unused imports shortcut keys

References

  1. How to set maximum line length in Eclipse/STS
  2. How to pass VM arguments in Eclipse IDE

Similar Posts

About the Author

Atul Rai
I love sharing my experiments and ideas with everyone by writing articles on the latest technological trends. Read all published posts by Atul Rai.