From 458417bc8b262a491e487f814e7fb5cbfc4a110a Mon Sep 17 00:00:00 2001 From: Eshwar Andhavarapu Date: Tue, 28 Jun 2016 08:08:23 +0200 Subject: [PATCH 1/3] Addition of USE EXEC OPENQUERY syntax USE is used to select a database in SQL Server when a database is connected to. EXEC and OPENQUERY are both used to get data on other servers. I have grouped this with the VALUES keyword as EXEC/OPENQUERY are dealing with similar data. I have also added USE into this dictionary as I felt it is cleaner than adding into dictionary keyword.other.DML.sql but let me know if you disagree. Same as https://github.com/Microsoft/vscode/pull/8046 --- Syntaxes/SQL.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/SQL.plist b/Syntaxes/SQL.plist index f8b04ac..7aab07d 100644 --- a/Syntaxes/SQL.plist +++ b/Syntaxes/SQL.plist @@ -237,7 +237,7 @@ match - (?i:\bvalues\b) + (?i:\b(values|use|exec|openquery)\b) name keyword.other.DML.II.sql From 0314fa3a4476145de831ff556668e645ec70dcb3 Mon Sep 17 00:00:00 2001 From: Eshwar Andhavarapu Date: Tue, 12 Jul 2016 08:25:04 +0200 Subject: [PATCH 2/3] Update SQL.plist --- Syntaxes/SQL.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/SQL.plist b/Syntaxes/SQL.plist index 7aab07d..cb88072 100644 --- a/Syntaxes/SQL.plist +++ b/Syntaxes/SQL.plist @@ -237,7 +237,7 @@ match - (?i:\b(values|use|exec|openquery)\b) + (?i:\b(values|use|go|into|exec|openquery)\b) name keyword.other.DML.II.sql From e5d3ef71458a71f2d9bd8243b17e410b0d4ae4b0 Mon Sep 17 00:00:00 2001 From: Eshwar Andhavarapu Date: Tue, 19 Jul 2016 08:27:49 +0200 Subject: [PATCH 3/3] Removal of USE Added USE in another PR in the correct location. So Removing it from this one. --- Syntaxes/SQL.plist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Syntaxes/SQL.plist b/Syntaxes/SQL.plist index cb88072..1be7f22 100644 --- a/Syntaxes/SQL.plist +++ b/Syntaxes/SQL.plist @@ -237,7 +237,7 @@ match - (?i:\b(values|use|go|into|exec|openquery)\b) + (?i:\b(values|go|into|exec|openquery)\b) name keyword.other.DML.II.sql