The only thing that exists in Eclipse, which I miss in IntelliJ IDEA is \"save actions\" - possibility to do some actions (usually formatting) when a file is saved.
The answer I linked to explains in a few easy steps how to record a macro for optimize imports and reformat and then run that macro when you save your files (bind it to Ctrl+S).