I want to learn how can I automatically optimize imports after each save as we do Eclipse(save actions).
IntelliJ IDEA offers an option to Optimize imports on the fly in Settings | Editor | General | Auto Import and Optimize imports option in the Commit Project dialog.
Settings
Editor
General
Auto Import
Commit Project
2.1m questions
2.1m answers
60 comments
57.0k users