vscode-language-sql-bigquery icon indicating copy to clipboard operation
vscode-language-sql-bigquery copied to clipboard

Syntax / coloring issue when using interpolation with backticks for table identifiers

Open mxcoder opened this issue 3 years ago • 0 comments

Description

Hello, thanks for the plugin. I'm using Terraform templatefile function to parameterize some queries, therefore I can have SQL like:

SELECT _entity.*,
FROM `${project}.other_table`
WHERE field IS TRUE
;

And it renders like this: image

I'm guessing the syntax regex might need to be tweaked for it to ignore the $ in the identifier.

mxcoder avatar Oct 22 '21 12:10 mxcoder