typedb-studio icon indicating copy to clipboard operation
typedb-studio copied to clipboard

Simplify closing a bunch of Untitled tabs

Open izmalk opened this issue 1 year ago • 0 comments

Problem to Solve

I have dozens of open tabs in Studio. Just because to try some new query, I tend to open a new tab for a clean slate. I don't need all of them (let's assume I already saved everything that was important). Now to close all Untitled tabs, I need to click on every x icon in every tab and confirm every deletion in a Save or Delete modal window. That proves to be quite tiresome when you are dealing with dozens of useless tabs.

Current Workaround

Cookie clicker experience. Just aim and shoot - X, Delete, repeat with a lot of mouse movements.

Proposed Solution

Would be nice to have:

  1. A hotkey for Save or Delete modal window options. For example: press S to Save, D to delete, and C to cancel.
  2. A button to hotkey to close all Untitled tabs at one action with a single confirmation.
  3. A middle mouse click on a tab having the same effect as left click on the X icon in the same tab. Like in IntelliJ IDEA.

Additional Information

izmalk avatar Sep 12 '23 11:09 izmalk