Open
Description
Describe the Feature
When building a long string in a script for insert or update, I like to break it into logical chunks for readability and easy maintenance. Also, VSCode does not like really long single-line strings. Something like this:
declare @longString nvarchar(max) = '';
set
@longString = @longString +
'{"JsonObject": [{' +
'"JsonField1": {"Name": "JsonValue1"},' +
'"JsonField2": {"Name": "JsonValue2"},' +
'"JsonField3": {"Name": "JsonValue3"},' +
'"JsonField4": {"Name": "JsonValue4"}' +
'}]}';
update MyTable set MyColumn = @longString where...
At this time, when formatting with this extension, the formatter joins all these lines onto a single line.
Why do you want this feature?
I'd like to keep my strings readable and not have the issue with VSCode an long strings.