Replies: 1 comment 5 replies
-
Thank you for your input.
It should be also possible to use home/end and up/down to navigate.
Have you tried using Jupyter Notebook? It has autocompletion (with tab), and basic syntax highlighting. The editor there isn't as capable as vscode, but perhaps it can be improved with extensions. Another avenue I can offer is to add an "execfile()" function, that will just run the file as if it was written into the REPL. That will allow you to open the file with whatever editor you choose, and then run the edit while in the REPL. Let me know if these aren't enough, and I'll see what else I can do to solve your flow.
Can you provide a bit more detail on the kind of templates that you use? Preql lets you provide arguments when calling it, so you can do something like Have you considered Mako? I had a good experience with it in the past, and its syntax probably won't collide with Preql's. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have spent some hours experimenting with
preql
and wanted to share some thoughts:preql
syntax allows me to perform the same data transformation steps with a lot more clarity and a lot less contortions, compared to SQLIt would be nice to be able to construct a script in an editor (VS Code or Pycharm) with syntax highlighting and auto-completion, and run it when ready, getting results in a console. I know it is on the roadmap, it would be a great feature to have.
preql
I haven't figured out an elegant way of doing that. Jinja and Python f-strings use curly braces, which are reserved byprql
, I triedstring.Template
and it sort-of worked for me but it was a bit clumsy.Beta Was this translation helpful? Give feedback.
All reactions