Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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
<img src="before.png">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions syntaxes/inline-sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{
"name": "sqlQueries",
"contentName": "meta.embedded.block.sql",
"begin": "..sql.. ?((`))",
"begin": ".. ?sql ?.. ?((`))",
"beginCaptures": {
"1": {
"name": "entity.name.function.tagged-template.js"
Expand Down Expand Up @@ -37,4 +37,4 @@
}
],
"scopeName": "inline.sql"
}
}