mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-22 17:24:07 -05:00
PlaceCommasBeforeNextStatement should handle correctly formatted text (#247)
- Fixed handling of PlaceCommasBeforeNextStatement so that it doesn't add whitespace unnecessarily. This ensures that repeated formats of the same text shouldn't keep adding whitespace - Added tests covering a number of scenarios related to this
This commit is contained in:
committed by
Raymond Martin
parent
7f20f84add
commit
0c0bd3125b
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
|
||||
CREATE PROCEDURE [dbo].[sp1]
|
||||
AS
|
||||
SELECT
|
||||
c1
|
||||
,c2, c3
|
||||
FROM
|
||||
[dbo].[T1]
|
||||
RETURN 0
|
||||
Reference in New Issue
Block a user