Community
Participate
Working Groups
very frequently i would like to keep an editor open by hide it for a while and remove from the editor tab (tey take too much space there) for other views we have the concept of 'fast views' but with editors i'm stuck i either have to close them and then hunt for them again or keep them open and let them polute my screen something like fast views for editors or the Win 'minimize' concept would be extremally nice
the only workaround that i have for now is to split the editor area in 2 and move all the 'minimzed ones' to the other (made very small) area btw. why are editros special? they feel like all other views - they should not be special citizens. and we'd have 'fast views' for free then.
Note: This should be bumped up to a 3.0 request. I'd vote for this, especially if it was based on the new V3 style of minimizing views. Interesting strategies for view/UI space management are possible with the new view minimize capability. One I've been driving for a bit. -Start with Java perspective. -Drag outline over above package explorer (need more left/right for code). -Drag problems below all other views so it is 100% of the width of the window. -Stack other similar "wide" views on top of problems. (console, tasks,...) -Search and other seldom used views go on top of the Javadoc/Declaration. -Minimize problem stack and/or Javadoc stack to increase vertical on source. -Minimize either Outline or Package depending on mood. Where I come up short is editors. I end up with two sets open. Mine and Eclipse examples (Interfaces I need to implement and so on). What I started to do was split the editor area into two (top/bottom), and then put research editors at bottom, mine at top. What I end up doing is draging the split up/down, but this is hard to grab and tedious. I'd love to have the ability to minimize the top or bottom to see all of the other. This should be general purpose. A minimize of even a single editor area would be like a soft Window>Hide Editors. Two, minimize one or both. It may not make sense if stacked side by side, but then neither does minimizing views that have the same relationship. Add to this the maximize key combo (where is the minimize equivalent?), and the consistent find open editor process and you can get where you want and see as much as you need most all the time. Be real nice for 3.01....
There is also an available key binding for the Hide Editors function that you could also use. Window > Preferences > Workbench > Keys > Then go to the catagory: "Window" and there is an item named Hide Editors in the "Name" combo box below. Works quite nicely.
Thanks - was looking for that (i don't look at any editors in the Resource perspective) and they keep showing up on me. But, that is the same as Window>Hide Editors; and since I'm a keyboard type the f10+w+e is ok too. My real goal/request is that we get the ability to minimize a stack of editors, not all editors. I'd like to have two tiers and then minimize one or the other using some standard keyboard technique or mouse click.
Have you tried using two tiled Eclipse windows, with being an ultra-stripped-down editor? Somewhat like <warning, ascii art below>: +-------------++-------+ | || | | Normal ||Eclipse| | Eclipse ||Exmpls | | || | | || | +-------------++-------+
Created attachment 11989 [details] Vision of minimized editor area
Thanks - not bad for ascii - but that is not the target. Call me old - but I'm usually using the workbench in full screen mode, I want to see as much as possible at any one time. Two windows would work as a strategy if I had two displays. With the way you suggest I just see a little of both. Now I could toggle between two full size windows, but I like to limit my open windows. No, the real goal here is NEW FUNCTION. I'm asking that the editors be managed as a stack just like views, and that each stack support minimize. This is implicit via the hot key option or Window > Hide Editors when only one editor stack is around. But when there are two stacks, the idea is to be able to minimize one of them. Generalize this to a rule that says when there are multiple visible editors (I've dragged to side-by-side or top-bottom), that the two areas should be stacks that allow me to minimize just one. The end result would look like the picture attached (in a minute), but allow me to toggle in/out on or the other stack. More likely I'd nav to an editor and want to as the active editor/editor stack to take 100% of the editor area (a differnet request than maximize to 100% workbench window).
Why not just enable minimize on editor parts?
That is the goal, be it only when you have multiple editor stacks (split screen). Or, now that the hide editors window menu option is gone (command shortcut available - see Bug 63827), maybe it makes sense for the minimize option to be there all the time.
Created attachment 12662 [details] Implements this enhancement This patch generalizes the view minimize facilities to work for editors as well. Note: the original PR here asks for a way to move individual editors aside and quickly bring them back later. Although this patch implements an "editor minimize" facility that is equivalent to the one for views, it still does not fully solve the use case described in this bug.
Way cool. If it doesn't ship I'm sure I'll apply it. Would be a secret like Bug 31564 was/is. I could not break it with my silly testing. PDE editor flashes a bit on minimize/restore, but this is probably all the UIForms stuff running through layout logic. Attaching two images. One is standard use, the other is what looks a bit odd when you minimize two editor groups. The view stack below the editors runs to the top; you could argue it would look better at the bottom. No matter to me - minimizing two is odd, and no matter what you get the empty grey box. Status? Patch only?? Will it ship someday??? Have the human factors people had a chance to dance on it a bit???? (enough ?'s) - thanks very much for doing this much. Maybe there will be additional comments from others.
Created attachment 12666 [details] Two editor areas/stacks, one minimized
Created attachment 12667 [details] Two editor stacks / both minimized
The screenshot with two stacks/one minimized almost looks like you have a multi-line CTabFolder. Maybe that would be an easier to use solution? Personally I don't like minimize because it's too manual. I don't want to spend much time fine tuning the layout of the parts. Some one time adjustment of the sizes and an occasional button press to zoom/unzoom and that's about it for me. Other random thoughts: - Too bad minimizes only work up and down, not side-to-side. - Why can't you tear off editors like you can views? - MDI editors would be another solution people are used to (though I'm not a fan of MDI myself).
I didn't look to see if a keyboard mapping is possible yet. If not, that would be another nice to have. Option to toggle active editor stack in/out of minimized might be nice. Will have to relaunch and see if the existing keyboard mapping for hide still works (only option since Hide Editors was removed from menu).
Re: comment 14 There are existing PRs for torn off editors, multiple rows of tabs, and a minimize keybinding. An MDI interface could be implemented using the presentation API. Although multiple rows of tabs will not be supported, I believe we could accomplish a similar effect by offering an "auto-minimize editors" option. When enabled, selecting an editor will restore that editor's stack and minimize all the stacks above and below it. This would accomplish essentially the same thing as multiple rows of tabs. Since it wouldn't affect editors to the left and right, it would still be possible to have two files visible at once.
Wow, Pat... you're very appreciative! I like fixing your bugs. :-) Unfortunately, this patch will not be included in Eclipse 3.0.
It was fun to have an idea that somebody listened to :-). Re #C14 by "offering an "auto-minimize editors" option" did you mean that clicking on the editor tab for in a minimized row would swap that row for the currenly non-minimized row? If so, yes this would be nice, saves a click. But your "two files visible at once", would this only be side-by-side? I think top/bottom is just as common for two-at-a-time, so I'm wondering how I'd get there if the above is true. Would it be by disabling the option? Course you could always update the patch and we'd see how it works :-).
Guys, comment 12 and comment 13 show screenshots of behavior different than the original report requested. I wanted to have a way to _minimize_ an editor, not hide or minimize the whole editor area (even when it's split in 2). i'd like to have something like 'fast view' for editors. or a desktop shortcut in windows. or 'favorite files' or something like that. 1 1/2 later i still have to use stuff like 'open resource' and such workarounds.
Re: comment 19 As stated in comment 10, the patch here meets the requirements of the screenshot, but not the requirements of the original PR.
fair enough - i'll be waiting then.
The partial fix has been committed to head (patch inspected by Andrew). A minimize button is now available for editors. There was one additional change made to the patch in order to handle minimized editors that were in the activation list and had not been lazily loaded yet. However, the enhancement originally requested in this PR has not been addressed: there is still no way to temporarily reduce a single editor and bring it back later. Renaming PR (since the term "minimize" now has other connotations).
Moving Dougs bugs
This feature was available in 2.4. Why did it go away?
Created attachment 120832 [details] Eclipse 3.2.1 - multiple editors that can be minimized individually A screen shot of multiple editors in Eclipse 3.2.1 each having their own minimize and maximize buttons
Another question: If this was in 3.2.1 (and before) shouldn't this be considered a "bug" and not an enhancement?
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Remy is now responsible for watching the [EditorMgmt] component area.
(In reply to comment #24) > This feature was available in 2.4. Why did it go away? By the way, there was never an Eclipse 2.4 release. (In reply to comment #25) > Created an attachment (id=120832) [details] > Eclipse 3.2.1 - multiple editors that can be minimized individually If you want separate min/max buttons for your editor stacks, change your presentation back to the original. Window > Preferences > General > Appearance Current presentation: Classic Presentation
Is this still an issue? It seems to me the reported use-case is rither Invalid or much better supported in recent Eclipse versions. So it could be a WONTFIX.