Closed h3n4l closed 1 year ago
Are you sure these diagnostics are produced from the ANTLR4 extension? What language is set for that file (check the status bar)?
Hi @mike-lischke , Sorry for the late : \
The language is ANTLR
exactly:
OK, the problem stems from the fact that the TSQL grammar uses the new syntax already (ANTLR 4.12/13) with case insensitive identifiers. This ANTLR version is not yet supported by this extension, because I have no Typescript runtime for that. I'm working on one but it takes time. Once this is available I can improve the extension.
A new release (2.4.0) was just published, which now works with the latest ANTLR4 version.
I download the
tsql
g4 parser files from v4-grammers/sql/tsql, but extension seems cannot parse it correctly: