简体   繁体   中英

sqlite syntax highlighting for python3 in VSCode

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!

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM