- Close This Tab
- Close All Tabs But This
- Close Tabs to the Right
- Close Tabs to the Left
Often this is required if we have opened a saved session, and then we want to close it (all tabs) and load some new files.
If there are 10 tabs in the current session, we have to close them all one by one.
We can also resort to a two-step method:
1. Right-click on any tab, and select the "close all tabs but this" option
2. Click on the x button on the surviving tab to close it.
But this is not an elegant solution.
I'd suggest another alternative: Let the user press SHFT+click on the X button.
Instead of closing the active tab, let this action close all tabs at once.
Third alternative: When we click on the X button, the app should ask whether to close active tab or all tabs.
Fourth alternative: Each tab already has its own x button to close it. So the dedicated X button should be to close all buttons only.
(Let the app confirm before closing all tabs, though.)