How do I close all tabs in SQLWorkbenchJ? - sql-workbench-j

Quite often I would open a bunch of tabs in SQLWorkbenchJ to run some ad-hoc SQL queries, and I wouldn't need them anymore afterwards. I could close them one at a time, but is there a way to close all the tabs at once (since I might have like 20+)?

You can right click on one of the tabs and choose "Close others". That will close all editor tabs, except that one.

Related

Using TAB to exit a TMemo component

I have a requirement to allow users to tab around a Delphi application screen in a certain order. This is fine for almost everything, except that I can't seem to find a way to tab OUT of a memo component. I realise that Tab, itself, is a legitimate key in a memo for formatting purposes.
Does anyone know if it is possible at all to tab to the next control from a Tmemo? I don't need the Tab format in the Memo, so I'm quite happy to sacrifice that.
I'm using Delphi 5 Enterprise.
Thanks in advance.

Maintain splitted editor windows in PhpStorm

Using PhpStorm, I usually have 2 or 3 source files opened in splitted editors. Now that I have a secondary screen, I've put all the toolbars in the second screen, and I'd like to have a fixed 3-splits layout for my editors. But as soon as I close the last tab in one of the splits, that split is gone.
I've search through PhpStorm options and surfed for an answer, but didn't seem to find how to do it.
Is there any way to fix the split layout in PhpStorm?
It is not possible to get such behaviour in current version.
https://youtrack.jetbrains.com/issue/IDEA-66407 -- watch this ticket (star/vote/comment) to get notified on progress.

Is there a way to organize Delphi XE2/XE5 tabs editor in multitabs?

I have a lot of files to keep open, and the current single line of tabs is just difficult. I see that GExperts and CNPack does not have that (unless I missed that).
Is there any trick to achieve that, or any other suggestion that I could have more tabs visible?
The TIDEGradientTabSet (if it's still used in modern Delphi) doesn't support multiline view, so the only option for those IDE experts could be making own tab set control hiding the original one.
Alternatives are:
On the far right of the tabs is a small down arrow. Press that, and you'll see a list of all the files that are open in the editor;
Pressing Ctrl+B will open up a dialog to select a tab;
TMS has a free tool AltTab but it did not get update for while. That was exactly what was needed for Delphi IDE;

xcode side menus open on different tabs

Each tab in my xcode project can have navigation/debug/utility menus open. If I close those menus on one tab, then switch to the next, they may be open. This is really frustrating! If I want the menus closed, I want them closed on all tabs. How can I change this behavior?
Each tab:
(1) Copies the state of the tab/window from which it was cloned;
(2) Remembers and maintains its own state individually.
So, either create your new tab at a time when the panes are closed in the current tab (if that is the default you prefer), or else be willing to change the pane state when you switch to a tab if it isn't what you want for that tab.
(Or, don't use tabs, I guess.)
Also, it really helps to know the keyboard shortcuts for opening/closing the panes. When these are second nature, I find this is not such a big deal.

Forms' focus malfunctioning when both have ribbon

I encountered yet another problem with ribbon. When I have two forms (one of them is main) and I put ribbon on both of them, they behave strangely. When I open the second form by Form2.Show;, every time I click a ribbon menu button on the second form, it loses focus and the main form gets it.
This happens at pure blank project, so what could I possibly be doing wrong?
Here is a video, just in case: Watch YT
And to be clear, the Action1 button has only Caption:='a'; code.
The ribbon control assumes that there is only one per application, and misbehaves if it is not the only control. You could try to modify the Ribbon.pas code, but it is doing some hacks that probably rely on Ribbon.Parent being Application.MainForm only.

Resources