Reset Eclipse perspective layout - eclipse

I've just updated from Eclipse Juno to Kepler. What happened to the Eclipse perspective layout and how can I restore it to fill the entire window?

Open Windows - Perspective - Other - Select Java (default) and open Windows again and select reset perspective

From the image provided you do indeed have a minimized perspective stack...it's the far right toolbar at the top of the image that has just the icons for the java and debug perspectives. If you click on its 'restore' button the actual perspective will re-appear.
What it looks like is that you have the 'Welcome' (Intro) screen up and maximized (thus the minimized perspective stack). If you were to click the selected item in that top right toolbar the 'fly out' perspective would go away allowing access to the view's restore (un-maximize) button.
Not sure why the Intro's blank though...;-)

You can try press right mouse button in perspective you need reset, after there click in Reset

Windows --> Perspective -->Close All Perspective
and after that restart Eclipse.

Related

In Eclipse IDE how to disable the closing of an editor tab via plain right-click

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...

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.

How to attach the console in eclipse?

In eclipse the console is somehow undocked. Now it's appearing like below :
How to attach it to the window? I tried the "pin console" button but nothing happening. I am running eclipse kepler.
Please help.
It is just a drag of the pop up window to the main window. Key is to drag by tab title not by main window. In your case, start dragging at tab titled console!
You can click Windows > Reset perspective to go back to default perspective settings.
The easiest method that worked for me in Eclipse Photon is:
Click on the Open Console icon present amongst the icons on the console window.
Open Console icon:
Click on New Console View
New Console View:
This will start a docked version of the current console.
And the one which is detached can be simply closed thereafter.
Go to WINDOW, then select these submenus:
SHOW VIEW
CONSOLE
As in this screenprint:
that's it
Window->Perspective->Reset Perspective
Grab on Git Staging icon, drag and drop on console bar:
From opened Eclipse; go to Window>Perspective>Reset Perspective
Back to Window>Show View
Click on Console.
I found this convenient.
You can click on Windows > Reset perspective. It will reset perspective settings

Xterm right click misbehaviors

When I open linux eclipse IDE from windows using xterm(Reflection, MobaXterm), I found few problems:
When I right-click on a project, the menu appears for a millisecond, and disappears with a click action on about.
Sometimes the menu appears on right click, but if that menu has more items, usually it should scroll down/up, but the scroll button staying behind windows tast bar.
Can anyone help me on this?
Thanks in advance!
I have the same issue too. It seems that the right-click menu disapears behind the Eclipse main window and behind the Windows taskbar...
Here is the workaround I use currently: in MobaXterm 5.0, just go to "settings" --> "X11" and choose "Windowed mode with Fvwm": this will open an X11 window.
When you run Eclipse using this tip, it correctly displays the right-click menu.
I hope this helps!
I googled but didn't find a solution.
For the first one, you can right click and hold it, move the mouse to the target menu entry, then release it.
In this way you can avoid a wrong click.

In eclipse, how do I add step continue and pause buttons to the toolbar of the java perspective?

In eclipse, how do I add the debugging buttons: step, continue, and pause buttons to the toolbar of the java perspective? When I right click to customize perspective I don't see where I could add those buttons.
CLARIFICATION: I'd like to add these buttons directly to my java perspective if I can, I don't like switching back and forth between java and debug perspectives.
Under Window -> Show View -> Other, in the Debug group, open the Debug view in your Java perspective. The Debug view has the step buttons you're looking for.
Open any other Debug group views in your Java perspective that you want to see.
If you're happy with your Java / Debug perspective, save it using Window -> Save perspective as...
In eclipse on the top right corner there is a mode choosing button it will be by default set to java persective. Ypu can click on this button to change to debug mode and in the debug mode you will be able to see the buttons.
or you can use
F5 - for step in
F6 - for step over
F8 - resume