Is it possible in Intellij IDEA after typing \';\' or press \'Enter\' happened formatting of this string?
For instance, to:
a+b=10;
I know this question is quite old but there is actually a Save Actions plugin for IntelliJ that can be configured to format the code automatically.