Eclipse Kepler - How To Maintain Multiple Window Order Across Restarts - eclipse

I open multiple windows when using Eclipse on a machine running Windows 7.
I would like to be able to boot Eclipse and find the windows displayed (stacked) in the Taskbar in the same order as I left them when I last exited Eclipse.
With Eclipse Indigo, the order in which the windows where opened and displayed in the Windows Taskbar could be predicted by the order in which the windows had previously been selected and viewed.
By activating (selecting to view) the windows one-at-a-time from left to right just before exiting, I was guaranteed to find them opened in same order next time I booted Eclipse.
Eclipse Kepler seems to set the window ordering in some other way that I cannot predict.
Is there anything I can do about this?

You should open a defect against Platform -> UI for this...
We could likely re-arrange the MApplication's children's order to move any window that goes active to the end of the list. That would mean on startup it'd appear on top (they're rendered first to last in the children list...

Related

How can I save a multiwindow perspective layout in Eclipse Mars

When I debug code in Eclipse, I like to take advantage of multiple monitors. In Eclipse Kepler, I did this by docking a couple of windows on my secondary monitor and then saving that perspective. In Eclipse Mars, whenever I switch perspectives, it resizes and relocates the floating windows that should appear on my secondary monitor. How do I preserve size and location of views in a perspective in Eclipse Mars?
The only way I could get this to work correctly was to create the perspective I wanted, save the perspective, then right click the perspective icon and click "reset". Now it resizes right whenever I switch perspectives.
You could drag your program down near the console.

Eclipse right-click issue with X11 forwarding

I have installed Eclipse on a remote Linux machine and trying to access it from my Windows box thru X11 forwarding. Yes, we have a requirement to do so.
I'm having a problem with right click behavior when using Eclipse (Helios/Indigo/Juno). When I right click in Eclipse the popup menu briefly appears and then whatever menu item the cursor is near gets selected and that action is performed. If I hold the right click then the popup menu stays open and I can select any menu item. When I release the right click the selected menu item action is performed. Note that in all of these cases the left mouse button is never used.
Tried different Linux flavors(SuSE/Ubuntu) and different X11 servers(Xming/Cygwin/VNC) for windows, the result is same. This happens only with Eclipse, other applications like firefox do not have this problem.
This behavior can partly be attributed to the way Linux handles mouse clicks i.e., releasing the right mouse button will trigger a selection.
Note that in all cases, Eclipse works without any problems locally(on the local Linux machine), these problems only appear when we access Eclipse remotely(X11/VNC) from a Windows box.
I am not sure if the problem is in Eclipse, because Eclipse works fine locally. Then, I am not sure if the problem is in X-server, because other applications like firefox works fine remotely.
Any ideas? Spending hell lot of time on this...!
Here are few related links:
http://devnet.jetbrains.net/message/5246614
http://communities.vmware.com/thread/220037
https://superuser.com/questions/433314/how-do-avoid-context-menu-in-opensuse-to-open-on-mousepress
https://bugzilla.redhat.com/show_bug.cgi?id=542841
https://github.com/linuxmint/Cinnamon/issues/947
I realize this is an old question but it has just started happening to me today (Nov 2016).
Macbook Pro Retina mid 2012 running Sierra with external mac monitor and touchpad
xquartz 2.7.11
using remote x to a redhat 7.2 machine running eclipse Mars (4.5.2)
This has worked consistently for years but after the upgrade to Sierra my right click (two finger tap on tracpad) on remote x running Eclipse causes the right click context menu to flash briefly and then goes away.
I noticed that I had both wireless and my lan connection active (just came back from a meeting and put mac on the monitors)
Found a couple of solutions -
1. changing the two finger tap to a click on the lower right of the touch pad works (but I hate that)
2. if I disable wireless to ensure all remote x sessions are on the cat5 my right click menu works again (two finger tap on trackpad) . I have consistently reproduced this a couple of days in a row now.
3. use a mouse instead of the trackpad.

The Eclipse "select workspace" dialog disappears when I switch to a different virtual desktop (VirtuaWin) - how to restore it?

When eclipse starts up, it first show its splash screen and then pops up a dialog for selecting the desired workspace to open. If at this point I switch to a different virtual desktop and then come back later, only the splash screen is visible but the dialog is gone and I haven't found a way to get it back. I have to kill the eclipse process and start again.
Is there a way to recover from that problem whithout killing eclipse?
My setup:
Windows XP
VirtualWin 4.0.1
Eclipse Helios
I'm not sure why it prompts you the first time Eclipse starts up but not after using a different virtual desktop. I assume you did not select "Use this as the default and do not ask again" on the "select workspace" dialog. If you don't mind waiting a bit, you can avoid killing Eclipse by loading the current workspace and then going to File > Switch Workspace.
Start Eclipse.
Invoke Window menu on Workspace Launcher window. For example by clicking the middle mouse button on the window title bar, see Setup Dialog's Enable middle button window menu activation setting in VirtuaWin Help.
Click Add Window Rule.
Leave class name there e.g.: #32770.
Erase Window name and Process name.
Select Always manage windows of this type.
Click Add button.

How to disable vmware workstation taskbar preview?

VMWare workstation uses the new taskbar preview feature in windows 7 - click on the icon in the taskbar and instead of switching to the app it shows you the open tabs. I just want to switch to the app. Does anyone know how to disable this feature?
I've tried to check the vmware website, but it's pretty awful.
Edit -> Preferences
On the Workspace (default) section, unselect "Show Aero Peek thumbnails for open tabs"
According to this thread, you cannot turn this "feature" off in VMWare Workstation 7. I, too, find it to be annoying. I just want one single VMWare entry on my taskbar, but instead I get a taskbar item for every open VM, plus the "Home" tab. When I want to switch to VMWare Workstation, clicking on the entry on the taskbar isn't enough. Instead, I have to click on the group of eight VMWare buttons and choose one from the previews that pop up. It's a step backwards in usability compared to VMWare Workstation 6.5, but unfortunately it's what we're stuck with for now.
Hold Ctrl while clicking the button.
I have looked for the same issue, and I did not find any way to disable the preview's. My solution is to close all of the open tabs of the VM's (by default they are all opened), and leave just the VM's that are currently in your use (you can leave VM's to working in the background). That way, you see in the Taskbar only the VM's that you're heavily working on (which can be just one, in you case).

Any tips on how to organize Eclipse environment on multiple monitors?

I can't find a good way of putting Eclipse windows on two monitors. Currently I just detached (clicked on a header and dragged) a few windows to a secondary monitor (package explorer, console, and outline) while leaving primary monitor with maximized source editing window.
It works pretty well except few annoying issues. Detached windows are not in focus while you are editing your code. Which means that, for example, last build shortcut (Alt-Shift-X, Q) doesn't work because it can't find build file (because package explorer is not in focus). Also "Selected resources" option in a file search menu is not picking up current package selection.
So I was wondering is detaching windows a right way to go? Do you have any better solutions so at least package explorer stays in focus?
Thanks.
PS. Btw "unable to find build" error started showing up only in 3.4 ver for some reason.
In the Eclipse Helios (currently 3.6.2) I found very useful the use of another window to bring up multiple documents in different screens.
in the main menu, go:
Window > New window,
and drag it to the screen you prefer. Double click in the filename on the editor and will maximize the editor's window.
I hope i helped.
Kyr.
PS: If you want to maintain both windows when you closing Eclipse, don't close them one by one. Instead go: File > Exit.
I use Ultramon to spread my Eclipse across two monitors.
I have the left hand side devoted to the code and the right hand side to the Project Explorer, Search, Console, Ant and Outline views.
This way I get focus to all of my Eclipse stuff when I click on it in the taskbar or alt-tab. I can also overlay another window (usually my browser or a trace viewer) on the right hand monitor. I use SemTop to pin the overlayed window if I want to code and read some reference at the same time (This is where shortcuts keys come in handy).
So I can look at code and StackOverflow at the same time ;)
Ultramon
I split the eclipse environment over two monitors (both running at 1600*1200)
on the left I have the main coding window maximised with the outline down the right hand side.
On the second monitor I have the Junit window, Problems, Console and the package explorer
I have the same layout duplicated for all the perspectives that I use.
I have never used the Alt-Shift-Q short cut but I have found the Alt-Shift-X, T shortcut for running junit works fine when I am focussed in the main coding window .
Possibly have the package explorer on the same monitor as the coding window?
I have a widescreen primary monitor and a non-widescreen secondary monitor. The layout on my primary monitor is broken into three columns: column 1 contains the package explorer in the top half and the outline, hierarchy and search results views in tabs on the lower half. Column two is code, and is about two and a half times wider than the other two columns. (Since everybody has widescreen monitors at my office, we've standardized on 100-character lines instead of 80.) The third column has the debug view at the top, somewhat small; the variables, expressions and JUnit views in tabs below that, taking most of the vertical space; and a small breakpoints view below that. My secondary monitor has two torn off windows: the console takes up most of the screen, and below it I have a smaller window containging the problems and history views in tabs.
My only gripe is when I remote desktop in from my single-monitor setup at home: the two windows on the secondary monitor move over to the primary one. I have a "One Screen" perspective which I use in this scenario to rectify that, but when I'm back at work and switch to the dual-monitor perspective, I have to manually move the windows back over to the other monitor. I wish Eclipse would just leave them over there, but I can't see any way to make it do that.
I have my Package Explorer and Code on my primary monitor and the Console on my secondary monitor. I do this by right clicking over console tab and selecting Move.. then View.
This way I am able to drag, drop and resize the console window.
Hope this helps!
I did this by extending my eclipse to both monitors, in windows you can make your screens extended by holding win key and tapping P,
Then, selecting my left monitor as the main one I dragged the right side of the eclipse window to cover the other screen all the way. then made eclipse into three columns. Now my main monitor is dedicated to code editor and console and package explorer are on the other one! when you have a whole monitor for your code it always helps to use cntrl+{ and have a second vertical column for viewing the same file, or dragging the tab of another file to the side of screen to view both in the same time.
Finally I just saved my work from window > save Perspective As
I can switch between my normal and dual monitor perspective whenever I'm not in the office
I've reduced (but not eliminated) the need for the package explorer to always be showing by using Ctrl+Shift+R in eclipse, this pops up a filter-as-you type window that makes switching between files which you remember the name of easy, as well as accepting wildcards to make it easy to find files you partially remember the name of.
I keep source on my main screen and outline tasks and LogCat (android) on my secondary screen, if I find i'm reading a lot of web content i fire up my laptop via synergy as an independent third screen, it's not ideal but it works.