From 4307e20c59d2f3dcb3d76a6742459ae5cbaa5ee6 Mon Sep 17 00:00:00 2001 From: Emiliano Delgadillo Date: Tue, 23 Dec 2025 10:41:27 -0300 Subject: [PATCH 1/3] Allow spaces in between the comment tag JSDoc-like comments have spaces in between the comment tags and the text. This is in line with the MDM lexical grammar - Block comments documentation resource and recognized by formatters such as prettier --- syntaxes/inline-sql.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syntaxes/inline-sql.json b/syntaxes/inline-sql.json index 1c5c98b..061af0f 100644 --- a/syntaxes/inline-sql.json +++ b/syntaxes/inline-sql.json @@ -5,7 +5,7 @@ { "name": "sqlQueries", "contentName": "meta.embedded.block.sql", - "begin": "..sql.. ?((`))", + "begin": ".. ?sql ?.. ?((`))", "beginCaptures": { "1": { "name": "entity.name.function.tagged-template.js" @@ -37,4 +37,4 @@ } ], "scopeName": "inline.sql" -} \ No newline at end of file +} From 08d000b152bb9fdda8fad9f583258fcb845e8413 Mon Sep 17 00:00:00 2001 From: Emiliano Delgadillo Date: Tue, 23 Dec 2025 10:47:05 -0300 Subject: [PATCH 2/3] Bump extension version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 07cd1cc..44e325c 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-inline-sql-highlight", "displayName": "Inline SQL Highlight", "description": "Highlights the SQL queries from your code", - "version": "0.1.1", + "version": "0.1.2", "publisher": "derefs", "license": "MIT", "repository": { From 318336b2ea43b458c46ce022427a0e2f97cb0b7f Mon Sep 17 00:00:00 2001 From: Emiliano Delgadillo Date: Tue, 23 Dec 2025 10:48:08 -0300 Subject: [PATCH 3/3] Update README with new standardized comment format --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cca2998..f221514 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # VSCode Inline SQL Highlight -VSCode extension that highlights the SQL queries from your code if you have a ```/*sql*/``` comment in front of the string that contains SQL. +VSCode extension that highlights the SQL queries from your code if you have a ```/* sql */``` comment in front of the string that contains SQL. ## Before