When I start Eclipse I get nothing. Not a single view. Similar to my previous question here except that now I have absolutely nothing at all. I don't have a menu to be able to even select window -> New Window or window -> reset perspective. The screen is completely other then the application running in my taskbar.
Related
I am using Eclipse Oxygen (Ver 4.7.0) on CentOS with the UI shown via MobaXterm's X Windows server on Windows 7.
In Eclipse I have the weird problem that when I right-click on an editor tab the tab closes immediately! No context menu, nothing, just the tab vanishes. I would like to disable this, but I couldn't find any entry for right-clicking in the Keys section of the Preferences.
Is there another place where the right-click behaviour is set? Or how else can I disable this? The problem occurs only for editor tabs.
Additional details:
The right-click behaves correctly inside an editor tab by bringing up the context menu. This shows that the right-click is not genearlly broken in the X Window system.
The right-click behaves correctly in other X applications like PyCharm.
An explanation
A closer look revealed that Eclipse does show the context menu on right-click press-down, but on right-click release-up it registers a left-click event.
Due to the particular situation of when the context menu was drawn, the mouse pointer than just always happens to sit over the top entry in the menu. And this top entry is Close. The following screenshot might illustrate this a bit (unfortunately without the mouse pointer):
Solution
The immediate solution for me is to move the mouse after pressing the right mouse button and before releasing it.
Still I don't know why this happens only when right-clicking a tab and only for me - and probably not for many other people...
First this is NOT a question about perspectives. I already have the debugging perspective disabled while I'm debugging. My question is about the Debug view (Window -> Show view -> Other -> Debug -> Debug). This view pops up giving you information about threads running and where they are suspended and the like. My problem is that often times I find myself in need of just watching console output while stepping through code for whatever reason. My Console window is anchored in the same region of the eclipse IDE as the Debug view. If I close the debug view down there, I lose the ability to step over / into while stopped on a break point (the hotkeys don't work either, but the application still suspends right where it was when you closed the view). If I have the debug view open, every time I step over / into a method, the screen switches focus from the console back to the debug view. This is exceedingly annoying. How can I disable this?
Edit - I just did some testing, and the Debug view receives focus over anything else that's anchored in the same region as it. Regardless of what the other tabs purpose may be. There might be some exceptions, but surely there is a way to disable this someplace...
I also noticed that it doesn't switch to debug view with every step, in my case it switches when something is written to SDT Out.
One last Edit - I found a work around, it doesn't answer the question I asked but does solve my particular situation. Under Window -> Preferences -> Run/Debug -> Console there are two check boxes for show when program writes to standard out / standard error. If I check those, eclipse will first switch to the Debug view, then immediately switch back to the console.
Eclipse's Preferences under Run/Debug? There are two useful options you can change;
Activate the workbench when a breakpoint is hit
Activate the debug view when a breakpoint is hit
hopefully it will solve your problem. goodlouck
You can't. Anchor the Console in a different part stack so you can see its output along with the Debug view and the editor pane.
The only reason the step actions know which thread to operate on is because it's selected in the Debug view and the Debug view has focus.
I am using Eclipse Juno. I was working in Java perspective and suddenly I minimized the console. I don't know where it went but I am unable to get it back. I even tried to get it from Windows>Show View>Console but I didn't get my console back.
It happened the same thing to me. Just click Window->Reset Perspective and everything will be back as it was when you installed eclipse.
Sure you'll have to customize it back to how you like it, but at least you'll have the console back.
If console is not visible, just search for "Console" in QuickAccess box on the right hand top of menu bar. you can get it back!
Stupid Eclipse. Are there no interface designers volunteering on this project? Why minimize something and make it hard to see where to bring it back? Probably all you have to do is hit Shift-Control-Tab-F9 with one hand while right-double-clicking the lower left hand corner. Hmm, how about a popup when you click a minimized Console that says "We see you've minimized your Console and you are clearly trying to switch to it. Would you like us to restore that so you can actually see it?" followed by "Are you really sure? Cuz ya know, you may be using this click path by accident."
The reset perspective works. Also, you can "Save Perspective" so it's not so hard to go back to your preferred Perspective.
Thanks for the tip.
Bring console to the front from Window -> Show View -> Console. Apparently the console remains invisible (that was the issue indeed), but it is virtually active in the foreground.
Close the current view (i.e. the invisible console) by going to the "Quick Access" box at the toolbar, typing "Close Part", and selecting the respective option on the drop-down.
Reopen console form Window -> Show View -> Console and voilĂ , it will appear. Drag it to your preferred location on the workbench.
This works for me under the following situation:
I had been previously playing with detaching several views (console included) and editors to a separate window on a different monitor; I have updated my workspace from Neon to Oxygen and I have had a hard reset at my computer. (So, not sure which among those was the reason that made it go wrong).
I wanted to avoid resetting my perspective, as it is highly customised, so I discarded that solution.
Other solutions herein proposed had not worked.
The console was working and the view became visible if I chose a different perspective (e.g. Debug) or a duplicate Eclipse window (which effectively provides a duplicate of a factory-reset perspective).
you could click the small icon on the bottom left and choose console. it will appear.
When I work at home, I usually connect a monitor to my laptop, fire Eclipse, detach its console view and put it on that monitor. Of course, probability that I would forget to re-attach that view back to Eclipse window when I shut down the laptop is ~120%.
When I start the laptop again (without that extra display), eclipse starts and console view gets out of reach.
Is there a way to reach that view and put it on my laptop's display again (apart from reconnecting external monitor)?
If it is the only change that you made to the perspective you can go
Window -> Reset Perspective
If you customized your perspective though, this will lose those changes.
I would just save the perspectives you are using
Window -> Save Perspective As... -> "JavaEE CustomDualMon"
and
Window -> Save Perspective As... -> "JavaEE CustomSingleMon"
I have not tried what it will do when it is not visible but it might help:
press Alt + Shift + Q and C right after (that shortcut opens console view)
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.