While dragging the perspective tool bar to a different place in eclipse Juno, my eclipse got hang, and after restarting eclipse, the perspective bar gone.
I tried googling but didnt find a solution to display that bar again. Anyone got a solution?
There is actually no need to reset your perspective, let alone to nuke your workbench.xmi memo file. There is a smarter way:
Open a new workbench window. From the main menu: Window => Ǹew Window. Please note that the new window does have the (already customized) Perspective Bar.
Close the window that does not have the Perspective Bar first.
Close the second window. This will save a cleaner version of workbench.xmi (overriding the one that has a perspective bar positioned out of the screen).
Reopen eclipse. The Perspective Bar is back at its place.
There are two things you can try:
Reset your current perspective (Window/Reset perspective...). Although your configured set of views will get lost, it might bring back the perspective switcher.
If that does not work, then you should reset the entire saved workbench GUI. This can be done by deleting the .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi file from your workspace folder, or by starting eclipse with the -clearPersistedState
Point 2. assumes, that in case of Juno you are using Eclipse 4.2 (the new GUI, not 3.8, the old).
First of all let me say: I will quit of using Eclipse as soon as putting perspective menu to left will be impossible (and force my team to do so as well).
As workaround I do the following for every new workspace
Create workspace
Close eclipse
Override .metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi by stashed file.
I made stashed workbench.xmi this way:
Create workspace in 3.8, configure bar at left
Open this workspace in 4.* (it will create stashed file).
Close eclipse
Stash workbench.xmi.
At least on eclipse 2019-06 (4.12.0), it's enough to
"switch workspace"->"Other"->"Recent Workspaces"->(The same you're on)
Related
Before I switched to this release the Eclipse Navigator had nice feature. Clicking on the file tab in the right pane rearranges the Navigator, so the node corresponding to this file in the Navigator becomes visible and highlighted. I do not see this feature anymore. I am on macosx.
For some reason the Mars and Neon (even 4.6.2) new workspaces I created do not have this feature. But my old workspace in Mars does. So I am thinking that maybe something is not working in my new workspaces.
This is called 'Link with Editor' and has to be turned on. Click the two way arrow at the top right of the view to enable it. When enabled the arrow looks 'depressed':
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.
I'm running Ubuntu 14.04 and Eclipse Kepler. Since yesterday I've been experiencing a strange issue: when I open up Eclipse, all that I'm seeing is the menu bar on the upper Ubuntu bar. No code editor, window whatsoever.
In order to see a window I go to Window -> New window, but this is just a workaround. It starts up a new window with no preferences set, no last edited files etc. Moreover it shows that I have 2 Eclipse windows opened, while I can only see 1.
Any ideas on how to fix that?
I agree with Gorka, it looks like it was related with window size.
Here my solution (worked for me on Ubuntu 14.04):
1) Switch to Eclipse so that menu header is visible (you can use Alt+Tab or click on Eclipse icon in the list of applications)
2) Press Ctrl+Super+ArrowUp (Super=Windows button usually between Ctrl and Alt)
This combination maximizes active window, so it restores Eclipse to full screen.
Go to Window -> Show Toolbar. That should fix your issue.
Edit: Also try Window -> Close All Perspectives. Now, Window -> Open Perspective -> Other... and select Java (default).
I had exactly the same problem, the only solution I could find was to download the newest Eclipse version from www.eclipse.org instead of from the Ubuntu repository.
I had the same issue and I've found out what was happening:
The problem was that the size of the eclipse window had been reduced to the minimum, see my desktop in http://i.imgur.com/lTlgOvb.jpg and notice the small vertical line in the top-left corner. This small line is the eclipse window, so just go with the cursor and make the it bigger.
I had exactly the same problem happening on only one workspace I had setup within Eclipse. I pressed some keyboard shortcut to make it happen but didn't know what that shortcut was (fat fingers meant I pressed a key I didn't mean to) and now can't reverse it! All other workspaces loaded up fine.
Managed to resolve it by Clicking on Window -> New Window!
I was having the same issue and got to fix it by just maximizing the windows (window button + up arrow key).. lol
stupid, but worked.
I've installed Eclipse Juno SR1 and switched to my old workspace. When I open a java file in the editor, it seems to be minimized (or hidden). The titlebar shows the current file and the outline displays all methods.
This is much as described in the Eclipse Invisible Editor, however, the suggested solution 'Window > Reset Perspective' does not work for me.
Any ideas on how I can get the editor back in the window?
I have the same problem with previous version of Eclipse Juno (not SR1).
"Windows" -> "New Window" seems to bring back the invisible editor view.
Then just close the old one and restart eclipse to make sure it "remembers" the configuration.
Try Window > Reset Perspective to get things back to normal.
There are times when the editor or other views starts behaving erratic. For such situations do:
"Windows" -> "New Window".
Close the old one.
I had this problem in STS and then it contaminated my regular Eclipse in the same workspace. "New Window" helped, thanks!
You don't need to restart eclipse.
Just double-click your file inside the Package Explorer view. You will see it's name in the title bar, but it won't appear in the editor:
Now, just type Ctrl + w (in case of Windows).
Reopen your file, and it will appear in the editor:
Eclipse has a context menu item to hide the entire toolbar of RCP.
Where is the corresponding menu item to show the hidden toolbar?
I know it should be shown if using a new workspace. However I hope find the related feature in the GUI of eclipse.
Use the Window menu, you have a "Show toolbar" option there.
I'm on Mac OS X, and one thing I always forget about is the stupid lozenge button in the upper right corner of the window. I hit this by accident and was going nuts trying to figure out where my toolbar had gone until I (experimentally) hit it again.
I tried one solution here and worked for me. If you can not reset or change something from eclipse GUI, Go to your project folder eg. "Workspace". Delete folder ".metadata". Now open eclipse again and browse "Workspace". Import your projects from the "Workspace". It will reset eclipse to default.
In eclipse oxygen version it is available under
Windows --> Appearance --> Show Toolbar