inline_sql_syntax icon indicating copy to clipboard operation
inline_sql_syntax copied to clipboard

Highlight and lint inline SQL strings.

Results 49 inline_sql_syntax issues
Sort by recently updated
recently updated
newest added

The following code should be properly highlighted, but is not. Removing the generic type will cause the string to be highlighted again. ```ts const { data } = await sql`...

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. ```python country_filter =...

updates: - [github.com/pre-commit/pre-commit-hooks: v4.2.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.2.0...v6.0.0) - [github.com/jorisroovers/gitlint: v0.17.0 → v0.19.1](https://github.com/jorisroovers/gitlint/compare/v0.17.0...v0.19.1) - [github.com/codespell-project/codespell: v2.1.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.1.0...v2.4.1) - [github.com/Yelp/detect-secrets: v1.2.0 → v1.5.0](https://github.com/Yelp/detect-secrets/compare/v1.2.0...v1.5.0) - [github.com/zricethezav/gitleaks: v8.8.6 → v8.30.0](https://github.com/zricethezav/gitleaks/compare/v8.8.6...v8.30.0) - [github.com/igorshubovych/markdownlint-cli: v0.31.1 →...

Is there anyway to use just the syntax highlighting without sql-lint in VSCodium?

In our code, our queries often look like this: ```javascript const query = { text: ` SELECT id FROM my_neat_table ... ``` The leading whitespace is helpful for keeping the...

Using Visual Studio Code 1.73.1 Using - enableDBIntegration = true - dbDriver = mysql - lintSQLFiles = true Create an .sql file in VS Code, enter a invalid SQL select...

I'm seeing this same issue with standard .sql files. Here's an example of what I'm seeing: I also noticed that the re-lint on save isn't working appropriately.

As you can see, the escape format string breaks the syntax highlighting

Add support for nim ```nim # literally the same as python var query: string = """--sql SELECT * FROM user """ ```