Open zhenyulin opened 11 months ago
Also AND OR
Example
let sql = "AND w.account_id = $2";
Fork repo, update highlight-sql-string.json, delete previous version from extensions, restart extensions (if vscode suggests), rebuild extension and install new version
How would you rebuild it? Tried packaging it with vsce
but no luck.
Fork repo, update highlight-sql-string.json, delete previous version from extensions, restart extensions (if vscode suggests), rebuild extension and install new version
How would you rebuild it? Tried packaging it with
vsce
but no luck.
I update engines in package.json to:
"engines": {
"vscode": "^1.88.0"
},
And use this command:
npx vsce package && code --install-extension inline-sql-syntax-2.16.0.vsix
I really like the changes made in that repo, thanks!
I had to change one of the esbuild
params since I got an error that the "Extension entrypoint(s) missing." Changed to --outfile=out/extension.js
and now it works fine.
It would be nice to support more keywords such as
WHERE
and use uppercase to avoid confusion. The use case would be for conditional query manipulation, e.g.