Skip to content

transactsql formatter error #1515

@Freem27

Description

@Freem27

Describe the bug
some commandes wrong formatting. after this sql script does not executing

for example

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

after formatting look like

SET
ANSI_NULLS ON GO
SET
QUOTED_IDENTIFIER ON GO

To Reproduce
Steps to reproduce the behavior:

  1. open .sql file
  2. insert
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO
  1. Alt+Shift+F

Expected behavior
do not change format for this rows

Desktop (please complete the following information):

  • SQLTools Version [e.g. v0.28.4]
  • VS Code Version: [e.g 1.103.1]
  • OS: [e.g. Windows]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions