Reputation: 111
Is there a way to highlight sqlite3 syntax within python3 code in Visual Studio Code? As a lot of the code is within strings, python3 highlights it as a string making it hard to read.
Thanks!
Upvotes: 1
Views: 1862
Reputation: 180
I would recommend this one, for me it works fine
https://marketplace.visualstudio.com/items?itemName=chdsbd.python-inline-sql-syntax
Upvotes: 0
Reputation: 151
I build an extension called Highlight String Code which can highlight SQLs in python or any other languages.
You can easily use it by uppercasing the first keyword of SQL and adding a semicolon at the end:
I hope it can be helpful.
Upvotes: 2