IntelliJ IDEA– Remove/Optimize unused imports shortcut keys
In IntelliJ IDEA, Ctrl + Alt + O is the shortcut keys to remove/optimize unused imports for Windows/Linux operating system, and control + option + O is for Mac OS.
P.S. Tested with IntelliJ IDEA 2019.3.3 (Community Edition) on Windows machine.
1. Before
2. After
References
- IntelliJ IDEA – Find file containing text shortcut
- IntelliJ IDEA – Code reformat and rearrange shortcut keys
- IntelliJ IDEA – System.out.println shortcut
- IntelliJ IDEA – public static void main shortcut
Similar Posts
- How to delete duplicate rows in Excel
- How to navigate to implementation in IntelliJ IDEA
- How to create new role and grant permission to role in JasperReports Server
- IntelliJ IDEA – Find file containing text shortcut
- WAMP/XAMPP Server- .htaccess redirect rule not working on localhost
- How to host a website on GitHub
- Maven- No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
- Deploy jasper reports in JasperReports Server using Parameters
- How to change Image background color in Photoshop
- IntelliJ IDEA – Code reformat and rearrange shortcut keys