Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 1.22 KB

File metadata and controls

20 lines (12 loc) · 1.22 KB

SQL highlighting in Python multiline strings for VS Code

Adds automatic syntax highlight support SQL strings embedded in Python strings. Improvements made with extensive use of Microsoft(R) Copilot(TM).

This is still under development, if you experience issues please try to help us fix them. :) Auto detecting SQL, and highlighting it properly insight Python is hard!

View source code Github.

Image showing syntax highlighting working for SQL embedded inside a Python string Image showing syntax highlighting exclusion for print statements in Python

Community

Release Notes

[0.0.1] - 2024-10-30

  • Made it so that it doesn't highlight in print() statements and is impervious to single quotation marks inside multiline string starting with double-quotation marks
  • Forked from better-python-string-sql