Additional options for formatting the ON constraints of a JOIN
It would be appreciated if you could enhance the SqlPrompt Formatting Styles functionality for the Clauses >>> JOIN section. I'd like the ON keyword to stay on the same line as the table-name, but when constraints are line-wrapped, I'd just like them to be "normally" indented.
Presently, the only way to get close to this behavior is to check the "Place ON keyword on new line" checkbox and set "ON keyword alignment" to "Indented". But I don't want that box checked.
3
votes
GrangerAts
shared this idea
-
Jeff Humphreys commented
It does seem like SQL Prompt over indents some things. There could be a master option, "unless indent would be > 30 spaces", though not sure that would work.