If you have been using Eclipse IDE for Java programming then you must be familiar with the key combinations Ctrl + Shift + O used to remove the unwanted imports from a Java Class.
In Idea IntelliJ the key combinations are different, you would need to use Ctrl + Shift + Enter to remove wanted imports from a Java Class.
![Remove unwanted Java imports shortcut intelliJ Remove unwanted Java imports shortcut intelliJ](https://code2care.org/macos/remove-unwatned-java-imports-intellij-alternative-of-eclipse-ctrl-shift-o/images/Remove unwanted Java imports shortcut intelliJ.png)
Remove unwanted Java imports shortcut intelliJ
Hover over the unwanted import (you would see them in gray color) and you would see Optimize imports followed by shortcut details.
Related Links:https://code2care.org/pages/configure-eclipse-keymap-in-intellij-ide
https://code2care.org/pages/eclipse-like-auto-import-shortcut-in-intelij-ide-android-studio
More Posts related to Eclipse,
- How to show console in Eclipse IDE
- How to Configure GitHub with Eclipse IDE in 2023
- Fix: Eclipse Connection time out: github.com
- Java was started but returned exit code=13 [Eclipse]
- [Fix] Spring Tool Suite STS Code Autocomplete not working with Eclipse
- [Eclipse] Enable or Disable print margin line
- Eclipse Java: Multiple markers at this line error
- Java Decompiler Eclipse Plugin
- Compare Current and Previous Versions of Same File (Local History) in Eclipse
- Eclipse Error : The Eclipse executable launcher was unable to locate its companion shared library.
- Word-wrap Eclipse Console logs
- eclipse maven m2e : Cannot complete the install
- How to Save Eclipse console logs in external log file
- List of Code Snippets/Templates to Eclipse IDE
- How to Access Terminal (Command Line) in Eclipse IDE
- Installing JD Decompiler plugin in Eclipse IDE
- How to Reset Eclipse Theme to Classic
- Increase Font Size of Eclipse Java Code
- Eclipse: Updating Maven Project. Unsupported IClasspathEntry kind=4
- INVALID FILE NAME: MUST CONTAIN ONLY [a-z0-9_.] Android Eclipse Error
- Fix: Eclipse Cant Connect to any repository not Authorized Error GitHub
- [Eclipse] Syntax error, annotations are only available if source level is 1.5 or greater
- Add imports in eclipse shortcut key combinations
- Eclipse version 32-bit or 64-bit check on macOS
- How to create a Git Project in Eclipse (Step-by-step)
More Posts:
- What is the Max and Minimum Value of int type in Python? - Python
- PHP Code for sending Emails - PHP
- How to count the files in a directory using Bash Command - Bash
- How to turn off AirPods Nearyby notifications on macOS Big Sur? - Apple
- How to know if you have blocked your friend Number on Android Phone - Android
- Maven : java.lang.ClassNotFoundException: Xmx512m - Android
- How to find the Battery Cycle Count on macOS Ventura - MacOS
- Android : How to make TextView Scrollable - Android