Skip to content

Missing "Save" option when editing query directly in a query tab #726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jensolafkoch opened this issue Apr 8, 2025 · 5 comments
Open

Comments

@jensolafkoch
Copy link

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:

  1. You have to open the context menu of the query

  2. Select Edit/Rename

  3. Maximize the window

  4. Copy the modified query from the open tab (because, obviously, you already ran/tested it there)

  5. 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,

@huyphams
Copy link
Contributor

huyphams commented Apr 8, 2025

Hi @jensolafkoch you can choose add to Queries or Save As... in this menu

Image

@jensolafkoch
Copy link
Author

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.

@huyphams
Copy link
Contributor

huyphams commented Apr 8, 2025

You can just press Control + S @jensolafkoch

@huyphams
Copy link
Contributor

huyphams commented Apr 8, 2025

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.

@jensolafkoch
Copy link
Author

jensolafkoch commented Apr 8, 2025

@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! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants