Open File - New Tab

renerlemes's profile image renerlemes posted 10 years ago in General Permalink
When opening a file, the (default) Query tab disappears and show the name of the file that was opened. The suggestion is that the main flap always stay visible and opening new files show in new tab.
igitur's profile image igitur posted 9 years ago Permalink
Have to support this. Isn't opening a file in a new tab kind of the norm for any application, instead of replacing the current tab?
ansgar's profile image ansgar posted 9 years ago Permalink
There was another discussion which said the opposite - being in a tab when loading a file should load it into the current tab. That's why it is that way now.
igitur's profile image igitur posted 9 years ago Permalink
I was afraid that you're going to say that! Still doesn't feel right to me. Notepad++, SQL Server Management Studio, MySQL Workbench all open a script in a new tab. I can't think of a single app that replaces the current content. And conventions matter to me. But, OK, I hear you.
renerlemes's profile image renerlemes posted 7 years ago Permalink

@igitur. I agree!

pipanni's profile image pipanni posted 5 years ago Permalink

Here's one more vote for the "normal" behaviour of opening a new file in a new tab instead of overwriting the current one WHICH ALREADY HAS CONTENT! It doesn't make any sense. I would have lost over 45 minutes of work because of this if the "Query history" wasn't there.

Dear ansgar, your program is very good and I use it a lot but this makes no sense at all. Run a poll to see what devs would prefer! :)

seithenin's profile image seithenin posted 5 years ago Permalink

I would also like to vote for the 'normal' behaviour of automatically opening a new tab when loading an sql file. This has been a big point of frustration for me with Heidisql, an otherwise fantastic program. I've lost quite a bit of work several times because I keep forgetting to click on a new tab before loading a file. If I haven't run any of my queries, or the query history is too long, I can't retrieve my lost work. At the very least there should be a dialog box asking if you would like to save your work before you load a file.

Would it be possible to add a feature in the preferences where the user could decide whether loading a file would be done in a new tab or not?

Please don't make me go back to workbench!

ansgar's profile image ansgar posted 5 years ago Permalink

Please star issue #270 - there is already a good idea from the reporter how to enhance that. And I am going to add that to the v10.3 milestone.

seithenin's profile image seithenin posted 5 years ago Permalink

Please star issue #270 - there is already a good idea from the reporter how to enhance that. And I am going to add that to the v10.3 milestone.

That would be fantastic! I look forward to the update! Thanks.

Please login to leave a reply, or register at first.