You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When formatting a dockument in SSMS a new line and spacing is inserted before the [/noformat] tag.
This is done every time the document is formatted resulting in more and more empty lines above the [/noformat] tag:
Original query:
IF @Ref IS NULL
BEGIN
IF @DebugMsg = 'x1'
BEGIN
--[noformat]
PRINT 'Some debug info'
--[/noformat]
END
--[noformat]
SELECT something from table
--[/noformat]
END;
Formatted once:
IF @Ref IS NULL
BEGIN
IF @DebugMsg = 'x1'
BEGIN
--[noformat]
PRINT 'Some debug info'
--[/noformat]
END
--[noformat]
SELECT something from table
--[/noformat]
END;
Formatted twice:
IF @Ref IS NULL
BEGIN
IF @DebugMsg = 'x1'
BEGIN
--[noformat]
PRINT 'Some debug info'
--[/noformat]
END
--[noformat]
SELECT something from table
--[/noformat]
END;
The text was updated successfully, but these errors were encountered:
mc-Jeeves
changed the title
[noformat][/noformat] blok adds a linefeed before [/noformat] everytime the document is formatted
[noformat][/noformat] block adds a linefeed before [/noformat] everytime the document is formatted
May 22, 2024
When formatting a dockument in SSMS a new line and spacing is inserted before the [/noformat] tag.
This is done every time the document is formatted resulting in more and more empty lines above the [/noformat] tag:
Original query:
Formatted once:
Formatted twice:
The text was updated successfully, but these errors were encountered: