Useful intelliJ shortcuts those are good know
How to remove unused imports in intelliJ?
In Mac IntelliJ IDEA, the command is:
Cmd + Option + O
(Letter O not Zero 0)
For some older versions it is apparently Ctrl + Option + O.
Ctrl + Option + O
(Letter O not Zero 0)
For windows
Ctrl + Alt + O
(Letter O not Zero 0)
Share