thebearingedge / vscode-sql-lit

🎨 Syntax highlighting for SQL template literals.
https://marketplace.visualstudio.com/items?itemName=thebearingedge.vscode-sql-lit
MIT License
18 stars 5 forks source link

Please support deno-postgres #12

Open silvioprog opened 1 year ago

silvioprog commented 1 year ago

It would be nice to provide support for deno-postgres.

thebearingedge commented 1 year ago

Hi @silvioprog I suspect that support is possible and am open to it!

It seems like deno-postgres supports template tags for .queryObject and .queryArray. I'm not familiar with the package, are there any others?

thebearingedge commented 1 year ago

The thing that makes me hesitate here is that .queryObject` and .queryArray` seem extremely generic things to match for syntax highlighting.

The last thing I want is to start supporting an unbounded number of template tags. Even the recent addition of sqlFoo` and dbFoo` have me a bit nervous, if I'm honest.

🤔