Format wrapped SET Statements with indentation
When a SET statement is a series of concatenated strings and you wrap the elements, the formatter aligns the wrapped strings with the SET keyword. They should have an option to be indented. Note below that periods denote indentation.:
SET @Foo = @Bar + " some text " + @Baz +
......." some more text";
Is formatted as:
SET @Foo = @Bar + " some text " + @Baz +
" some more text";
Note that the indentation on the wrapped line is removed. It would be nice to have an option that results in:
SET @Foo = @Bar + " some text " + @Baz +
....................." some more text";
or
SET @Foo = @Bar + " some text " + @Baz
.....................+ " some more text";
Automatic wrapping would be nice, too (I saw that already requested), if it supported wrapped line indentation.
-
AdminDevart (_, Devart) commented
Hi,
Thanks for your patience!
We would like to recommend checking for the setting in the formatting profiles under SET.
Best,
Devart Support Team