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
I might just be oblivious here, but is there any simple way to open the DBee UI over a certain file instead of launching the notes folder every time this UI is opened? I would like to use DBee as a REPL for SQL scripts that I'm writing, but they're version-controlled as .sql files and it's inconvenient to copy them into the note files and/or configure all of my SQL repositories as note sources
The text was updated successfully, but these errors were encountered:
rudiejd
changed the title
Open a file instead of a note
Open UI over a file instead of a note
Jul 9, 2024
This is my use case as well. I end up copying code from my repo into the note to run and then copying back if I need to make edits. Opening and running on an existing sql file would save me a lot of time.
I worked a bit on this tonight. I was just naively trying to open a non-note file in the editor, but it appears that the DBee float will always switch back to the buffer of the note in current_note_id. I think it might be a little bit easier to just expose a function that will open a file as a note, creating a namespace for said note based on the folder in which it was found. I will try to put up a PR using that approach
I might just be oblivious here, but is there any simple way to open the DBee UI over a certain file instead of launching the notes folder every time this UI is opened? I would like to use DBee as a REPL for SQL scripts that I'm writing, but they're version-controlled as
.sql
files and it's inconvenient to copy them into the note files and/or configure all of my SQL repositories as note sourcesThe text was updated successfully, but these errors were encountered: