busimus / cutelog

GUI for logging
MIT License
479 stars 45 forks source link

Feature request: Close all old tabs #24

Closed sparvanders closed 1 year ago

sparvanders commented 2 years ago

A button "Close other tabs" that closes all but the active tab. This feature exists in for example Eclipse.

Background: When I develop a program, I often restart the program to load changes. This will (very reasonably) create a new tab in Cutelog. But often I'm not interested in the old tabs and I just want to close them all. This could be 20 tabs so it's a lot of clicking.

For more control, an option "close all to the left" could close all but a set of most recent tabs.

busimus commented 2 years ago

You currently have two options:

  1. Hold down or mash Ctrl+W (common shortcut to close tabs in browsers and etc.)
  2. Enable "Single tab mode" in the "File" menu. If you're developing one program at a time and don't mind the records from previous runs remaining on the screen, this could work for you.

If this isn't satisfactory I'll look into adding a context menu to tabs.

sparvanders commented 2 years ago

Thanks for your reply! I do find it useful to have separate tabs so I don't want "single tab mode". Ctrl+W is faster than finding the X on each tab with the mouse so that's a good tip, thanks. A context menu would be slightly more convenient than Ctrl+W but I couldn't ask for your time for such a minor improvement.