PRQL has a VSCode Extension that compiles a PRQL query in a VSCode editor and displays the resulting SQL code in a second pane on the side. This is very handy for editing, saving, and reusing PRQL queries in VScode.
To install the VSCode extension, open VSCode and type Ctl-Shift-P (Cmd-Shift-P
on a Mac) and type
PRQL. Install the extension as usual.