Skip to content

RadoslawDeska/better-python-string-sql-refined

 
 

Repository files navigation

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

About

Highlight code in python multiline strings with refined precision about edge cases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published