timeseries / qstudio

qStudio - Free SQL Analysis Tool
https://www.timestored.com/qstudio/
Apache License 2.0
416 stars 17 forks source link

Comment character in editor for PRQL #68

Open richb-hanover opened 2 weeks ago

richb-hanover commented 2 weeks ago

qStudio is working well with PRQL queries. Here's my next user experience "glitch":

Currently the qStudio editor inserts/removes "//" at the start of the line when someone hits Ctl-/ or Cmd-/

PRQL uses "#" to comment out lines. It would be great to detect .prql files and use the proper comment character/string. Many thanks.

(Hey, I just noticed that you're doing syntax highlighting... Cool! Do you use an existing package?)