microsoft / vscode-mssql

Visual Studio Code SQL Server extension.
Other
1.53k stars 457 forks source link

Support T-SQL SQLCMD mode and :SETVAR variable definition #1063

Closed puruzio closed 6 years ago

puruzio commented 6 years ago

Steps to Reproduce:

1.In a sql file, type :setvar FOOBAR foobar` 2.VS code recognizes :setvar line and $(FOOBAR) throughout the sql code as errors.

It will be nice if VS Codes support SQLCMD, specifically :setvar variables.

kevcunnane commented 6 years ago

This is definitely a good suggestion. It's the same as https://github.com/Microsoft/sqlopsstudio/issues/596 so we should track both when prioritizing this issue.

puruzio commented 6 years ago

I see #599 is the same issue. Will close this one and follow that one instead. Thanks!