When I type ')', it auto-format my sql
Happened after upgraded from version 2018.2
Disable formating is not helping.
Settings > Editor > General > Smart Keys > ...
uncheck Reformat block on typing '}'
Putting @Archon's comment into an actual answer. (for me this is the solution.) @Archon, I do not want to steal your solution. If you make your comment an answer, then tag me here and I will remove mine.