Adds syntax highlight support for python multiline SQL strings in VS Code.
Install python-string-sql from extensions (ctrl + shift + x or cmd + shift + x on mac).
Also available on marketplace.visualstudio.com
In a """ multi-line """ or f""" f-string multiline """ string, use a select, with, or -- sql-comment, and the string will then be treated as embedded SQL.
begin typing sql and the autocomplete snippet will appear:
cmd+s (or ctrl+s on mac) - Insert the following snippet:
"""
SELECT
;
"""
- Visual Studio Code v1.32.0 recommended
- Comments at beginning and end of highlighted section in the string (see Usage section).
- 2018-09-04 forked from es6-string-css
- Added support for f-strings
- Added snippet and keybinding
- Published on VS Code marketplace
- Got it working based on these instructions
- Forked from es6-string-html

