Open 0417taehyun opened 1 year ago
So, what you essentially want is for the formatter to either:
@nene
Thanks for replying me.
I totally agree that it is inefficient to add extra configuration only for the WITH clause to maintain the general options. Also, I understand that it would be hard to preserve empty lines because it requires to change the major architectural.
I appreciate your wonderful works. Thanks again!
Describe the Feature
Are there ways to separate the line with using other character, not the semicolon?
I think it is much more readable if the CTE and the actual query separate with a blank line. However, if I use the formatter there are no ways add a blank line except for using the semicolon(
;
). Thus, the result query looks like the one below.Why do you want this feature?
As you might think it is possible to separate with the semicolon, so why we need the other way. The one below raises the syntax error because SQL needs to execute the
select ...
part after thewith ...
because of the semicolon(;
), which I use to separate a new line.Hence, for the readability, I think there are some other ways to add a new line for my two cents.