Bug 207167 - [EditorMgmt] include option to close all hidden editors in the MRU tab
Summary: [EditorMgmt] include option to close all hidden editors in the MRU tab
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-10-23 10:06 EDT by Gregor Rosenauer CLA
Modified: 2019-09-06 16:17 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gregor Rosenauer CLA 2007-10-23 10:06:02 EDT
When working with medium-sized to large projects, the tab-area quickly fills up with related and unrelated source files and more and more get hidden and move into the MRU-tab (a very handy feature btw, esp. the live-search!).

As these hidden files take up space and time when loading Eclipse, and the visible files are usually the most actively worked on, it would be handy if the MRU-tab offered a way to close all hidden tabs, cleaning up the workspace a bit.
Comment 1 Kevin McGuire CLA 2007-10-26 11:12:37 EDT
The request is reasonable given the notion that the visible tabs are the most often used, so get rid of the "older" tabs.  I am hesitant to add more menu items in the MRU list itself, all we have is "Close" for the selected.  That is, need to be careful around overloading what you can do in what is just a lightweight dropdown list.  Perhaps yet another menu in the tab area itself, we have "Close Others" so could have "Close Others not Visible" or something.
Comment 2 Boris Bokowski CLA 2007-10-27 01:00:38 EDT
(In reply to comment #0)
> As these hidden files take up space and time when loading Eclipse

I would consider it a bug if non-visible tabs have a noticeable effect on startup time. We don't materialize editors that are not visible.

Comment 3 Boris Bokowski CLA 2007-10-27 01:05:56 EDT
Would it help if we enabled the 'close' action for a multi-selection in the
drop-down? The non-visible tabs are listed first, followed by the tabs that are
visible.
Comment 4 Gregor Rosenauer CLA 2007-10-27 10:12:10 EDT
Thanks for evaluating this one - it's definitely not a big issue but maybe not an uncommon use case (eventually I guess a good solution will be Mylyn).

re Boris: you are right, it is more a perceived overhead and I prefer a clean workspace,-) However I don't know how to multi-select tabs or files in the MRU (?)

re Kevin: You are absolutely right regarding MRU-overload, I actually ment the shortcut menu on the tab bar. I'd find an additional menu item "Close hidden" the most intuitive solution, although that would make up 4 Close-items...
Comment 5 Kevin McGuire CLA 2007-10-29 10:49:42 EDT
(In reply to comment #4)

> I'd find an additional menu item "Close hidden"
> the most intuitive solution, although that would make up 4 Close-items...

Yeah, all we'd missing is "Close Random", which now that I think about it, describes how most people think the visible tab algorithm works :)

Comment 6 Boris Bokowski CLA 2007-10-29 23:05:49 EDT
:-D
Comment 7 Boris Bokowski CLA 2009-11-17 12:59:09 EST
Remy is now responsible for watching the [EditorMgmt] component area.
Comment 8 Eclipse Webmaster CLA 2019-09-06 16:17:08 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.