IntelliJ reformats my SQL code when I type a closing parentheses. How do I turn this off? For example, I'm write something like:
Now, when I type a ')' at the right margin, to close of that common table expression, it re-writes the code like this:
How do I turn this off? I know I can change some things in Preferences under Editor > Code Style > SQL. For example, I can tell it not to uppercase by keywords. But I want to tell it not to reformat my code when I type a ')'. There is a checkbox to "disable formatting", but if I check that then I can't even reformat code even when I want to.