Is it possible in Intellij IDEA after typing \';\' or press \'Enter\' happened formatting of this string?
For instance, to:
a+b=10;
Eclipse has an option to format automatically when saving the file. There is no option for this in IntelliJ although you can configure a macro for the Ctrl+S (Cmd+S on Mac) keys to format the code and save it.
Intellij reformat on file save