You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for quick toggles of PRQL target setting added in #63 and other new/future PRQL configuration settings display.
I've only played with sqlite and duckdb with prql so far, but found myself keeping vscode Settings tab open when switching between my demo dbs to generate diff. sql outputs.
We could use the standard vscode cog/config icon for quick access to those PRQL Settings.
Also, while at it, do we need to add more PRQL compiler toggles/settings?
Quick example of the Settings shortcut from our old Snippets Viewer for the general idea. Clicking on the cog icon in snippets tree view takes you directly to extension config. settings in this example:
The text was updated successfully, but these errors were encountered:
One note: when the one and only PRQL Target setting changes when this shortcut menu is added, we'll refresh SQL Preview to generate SQL output for the selected SQL target system. Currently, you have to close & reopen SQL Preview to see new target system sql output.
SQL Preview refresh on PRQL Target setting change might require us to refactor that view impl. as described in #60 and add new refresh() static method to that singleton vscode webview.
Looking at the current JS lib CompilerOptions, the only other prql setting that might be worth exposing in ext. config is signature comment that adds prql compiler signature with version and target for the generated SQL.
I can see how some users might not want to have that comment added to the generated SQL files.
for quick toggles of PRQL target setting added in #63 and other new/future PRQL configuration settings display.
I've only played with sqlite and duckdb with prql so far, but found myself keeping vscode Settings tab open when switching between my demo dbs to generate diff. sql outputs.
We could use the standard vscode cog/config icon for quick access to those PRQL Settings.
Also, while at it, do we need to add more PRQL compiler toggles/settings?
Quick example of the Settings shortcut from our old Snippets Viewer for the general idea. Clicking on the cog icon in snippets tree view takes you directly to extension config. settings in this example:
The text was updated successfully, but these errors were encountered: