unable to clear the query tab.
query tab
That's intentionally now. See issue #231 for a discussion.
I have to say it's frustrating that the first query tab is different from the others. If you load a specific file first, you have no way of closing that and "resetting" the environment except for closing the whole database window and reconnecting. Coming from SQL Server Management Studio, I love a lot about HeidiSQL, but there are a couple things that it doesn't do that SSMS does. This is one of them. I would suggest following the pattern Notepad++ uses - if you close the last document window (or query tab, in this case), the application could just open a brand-new query tab for the user. That way they never have a state where there is no Query tab open (which is why you're not letting them close the last one, I'm guessing?).
I had scanned through the discussion, but hadn't read it closely enough. Thanks for the tip! I will definitely use that. I would still recommend my other suggestion as an improvement to the application, as I feel that's more intuitive and closer to what other applications do.
Please login to leave a reply, or register at first.