Missing "Save" option when editing query directly in a query tab
When editing a query directly in the query tab (instead of using the context menu > Edit/Rename), there's no way to save the changes (at least I didn't find it?). This makes the workflow cumbersome:
-
You have to open the context menu of the query
-
Select Edit/Rename
-
Maximize the window
-
Copy the modified query from the open tab (because, obviously, you already ran/tested it there)
-
Paste it into the edit window
Doing this over and over is frustrating and disrupts the flow. A simple "Save" or "Save as…" option directly in the open tab would massively improve usability, A dedicated button next to "Run Current" would be a really great option,
Hi @jensolafkoch you can choose add to Queries or Save As... in this menu
Hi @huyphams,
thank you!
But "Save SQL As ..." saves a file, not a query in the Queries list. And I don't want to "Add to Queries" because that saves a new query.
I want just to save an existing query after I edited it in the "normal" query tab without going the long, described way.
You can just press Control + S @jensolafkoch
And if you double click the file on the Queries list to open it on tabs, after you modify it, you can just close the tab it will auto save.
@huyphams
Oh, sorry, that's weird. I use TablePlus for quite some time (years) and I was pretty sure that I did that several times and that it didn't work.
I use CTRL/S for more than three decades everywhere - but sometimes you miss the most obvious ... Thanks for reminding me! :-)