Eclipse Juno - how to make the views minimize when they lose focus? - eclipse

When I work with eclipse, I like to have my Java editor maximized, and all other views minimized in the trim stack (the area around the edges of the window). This way, I can expand the view only when I need it, by clicking on the view icon.
In previous Eclipse versions, when I finished working with a view, I clicked on another view or the editor so that it lost focus, and that caused it to minimize again. In Juno, it doesn't work - when I click on the editor, the view stays open and is hiding my code. In order to close it, I have to either click the view icon, or click on another program and then return to Eclipse.
Do you have any idea if there is a setting I can change to get the old behavior back?
Thanks!
Edit: Seems like a bug in eclipse.

I am unable to reproduce this problem using Juno SR1. Bug 371598 was fixed and looks like the same problem.

Related

eclipse: debug toolbar disappears in debug perspective

I'm having an issue with the debug toolbar disappearing from the global toolbar in the debug perspective in eclipse. Here is what I want:
but here is what I get:
You can see the toolbar is available in the debug view, but when I load the type heirarchy it is not accessible, or if I close that view, or move it around the toolbar moves with it.
I can enable the toolbar once by customizing the perspective and enabling it in action set visibility:
but when I close the perspective and reload it goes away again, even if I save the perspective.
basically I'm trying to do the opposite of this question
PyDev was accountable for this happening to me. For me the only solution was to uninstall the plugin (keeping a separate installation of eclipse for that for now). See the bugreport here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=491553

Eclipse Invisible Editor

I have eclipse Juno. I'm not sure how, but my editor in eclipse is now "invisible". By invisible i mean, the editor pane is not in the visible window. I'm not a novice in eclipse and i know you can minimize the editors or maximize a different panel - but this isn't the case. There isn't even a minimize/maximize button on this empty space where the editor should be.
However, the title bar shows the current file that is opened (but in the invisible editor and hence invisible). and my outline sidebar shows the file's outline.
I think this might have happened when splitting editor panes (which i do a lot, love the side by side comparison), and also switching the perspective.
Any ideas on how i can get the editor back in the visible window?
Above is a screenshot of how it looks. At the time of the screen shot i had just recently clicked a file to open it, and it seems to have opened in the invisible editor.
I've tried all given solutions and none of them solved the problem.
Only using Window->New Window gave me a new fixed eclipse window.
Try Window > Reset Perspective to get things back to normal.
I minimized sharedArea and after restore it was empty. Editors worked well (open, close, save etc.) but i could not see them. Closing all perspectives helped.
This happens to me sometimes when I try to split an editor group by dragging an editor tab. The only solution that worked for me was to close every single perspective in the application toolbar, then Window -> New Window.
I've had this happen occasionally when splitting panes. Restarting Eclipse didn't work for me, nor did resetting the perspective.
The solution I stumbled upon was to give the editor area focus (by clicking in the area where it should be, I suppose) and close files in the invisible editor with Ctrl+W until the editor reappears. You may notice the window title changes to follow the file in the hidden editor.
I had the same problem and simply stopping/restarting Eclipse fixed it.
I have the fix, when neither resetting the perspective or restarting eclipse helps:
At the bottom of the File Menu, there is your recent file name that you are trying to get back. Click on that and it should return.
Start eclipse with:
eclipse.exe -repair

Disable scroll in console in eclipse when I'm not at the bottom

I'm using the eclipse console for long, fast-running logs.
I can't find a way to get this console to behave like all other consoles, i.e. if it is scrolled down to the end, then it should scroll automatically, and if not, it should stop scrolling.
Is there a way (configuration, plugin) to achieve this?
As of Eclipse Mars (4.5), and with the fix for this bug, what you're after is now the default behaviour.
That is, you no longer have to manually toggle the Scroll Lock button - scrolling up (e.g. with the mouse wheel, but also by clicking the scrollbar or even moving the cursor up inside the console) automatically turns scroll locking on, while scrolling down to (near) the bottom turns it back off.
Great for some scenarios, but I sometimes find myself wishing for the old behaviour back. It doesn't seem as though there's an option, though.
No, there is no such thing before Eclipse Mars (4.5). You have to toggle the Scroll Lock toolbar button manually.
Windows > Preferences > Console > (un/check)
Enable auto scroll lock.
(I use Eclipse for Ent. Java Devs - version 2019-09 R (4.13.0))

Eclipse/Win7 - Scrolling in Content Assist with mouse without focus

Recently switched from Linux to Windows for development in Eclipse Indigo SR1. In Linux, if I Ctrl-Space'd to open a Content Assist window, I could immediately start scrolling with the mouse wheel (with the cursor over the Content Assist window of course).
Now, in Windows 7, if I try to scroll in the same way the Content Assist window goes away, and whatever editor I have open is scrolled instead.
If I first press Tab to give focus to the Content Assist window, the mouse wheel scrolling works as expected, but I'd much rather it behaved as it did for me on Linux, rather than retrain myself to press Tab every time.
Is there a way to make the mouse work this way with Eclipse?
Found an answer that appears to work. It's a little dated but seems to still do the trick.
http://divby0.blogspot.com/2007/04/focus-follows-mouse.html
Dropped this jar in the eclipse plugins folder and restarted. At first I thought it didn't work, but later I noticed there is a little X button added to your toolbar that you need to toggle. Scrolling seems to work properly now.

How to disable Eclipse's behavior of maximizing editor when double clicking a tab?

I recently updated my Eclipse (now running 20100218-1602), and I've found whenever I click around quickly between tabs on the tab bar, it will sometimes maximize the editor and hide the PHP Explorer to the left. After researching a little, this appears to be a feature of double clicking a tab. So I guess it's my fault, I'm sure I'm clicking around too fast and mistakenly double clicking a tab, but it happens often enough on what I'd consider a normal editing session that I've come to absolutely loathe it, and even after the usual googling due diligence cannot figure out how to turn it off.
From this post someone mentions the Window.AutoHideAll shortcut, however that seems to only be for assigning keyboard shortcuts--this is a mouse click thing. But maybe it's a clue.
I can't find anything relevant under Eclipse -> Preferences -> PHP. I don't think it's specific to PHP because if I switch to the Java perspective, double clicking a tab hides the Package Explorer.
Any suggestions are appreciated, thanks!
You could settle for a simpler solution than some arcane settings or shortcut:
resize your Eclipse main windows a bit smaller
drag the views you do not want to be covered after a "tab double-click" outside the main Eclipse window
there is no 3.
When you double-click, the Editor will cover only the main Eclipse window, while the other views will still be visible just beside that window.