Eclipse IDE view gone - how to get it back

Eclipse

Eclipse Problem Overview


I basically have multiple monitors and did some changes today. As such, the views on one of my monitors (specifically the console view) is no longer there. I can't seem to find a way to get it back.

The console view appears in Window -> Open view, and this menu option moves focus from the other open views, but the console view does not appear on screen. This probably means it's positioned outside of the monitors...

How can I get the view back?

Eclipse Solutions


Solution 1 - Eclipse

two option:

window -> New Window         //Opens with no editors, but preserves views layout
window -> reset perspective  //Keep editors, but resets layout view

If i understood your description correctly - you'll get what you want.

Solution 2 - Eclipse

I managed to return my gone view without resetting the perspective!
I opened workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi, searched for "outline" there (the view was Outline) and found it (precisely org.eclipse.ui.views.ContentOutline) inside a children tag which had an attribute visible="false". I removed that attribute and also <tags>Minimized</tags> inside the children tag, saved the file, started Eclipse, and that was it, my view returned!

Solution 3 - Eclipse

Use CTL+F7 to cycle through the Eclipse Views, select one that is on the hidden detached view group, then press ALT+<space>, M and use the keyboard arrows to position this window onto your active screen.

Solution 4 - Eclipse

Slightly related... I just had a case where my editor disappeared and would not reappear. I could try to open files but not see them anywhere (the file would be successfully parsed by the "Outline" view). Simply resetting the perspective didn't work. Nor did Window -> New Editor. To fix I had to do this:

  1. Window -> Close Perspective. (I actually did Close All Perspectives in a fit of rage)
  2. Window -> Open Perspective. (C/C++ in my case)
  3. Window -> Reset Perspective.

BTW, I'm running Juno.

Solution 5 - Eclipse

If you're just missing a view, you can use the menu item: Window->Show View->Console. No need to reset the perspective.

Alternatively, Ctrl-3 and type Console <enter>.

Solution 6 - Eclipse

This is a naïve answer and may not be possible in every case, but it worked for me and turned out to be less hassle than I thought:

I simply changed my OS's monitor setup to bring the windows back to within reach, dragged them back to the main screen, changed my monitor setup back to reality, and dragged the windows to my monitor's new position. Certainly easier than setting my perspective back up from scratch!

Solution 7 - Eclipse

I solved this problem by removing the attribute toBeRendered="false" from the element with elementId="org.eclipse.e4.primaryDataStack" in the workbench.xmi file.

Solution 8 - Eclipse

This has been one of the most annoying and long-lasting bugs in Eclipse for me. I still don't know why this happens, but my solution (similar to @cyber-monk) is the following:

  1. Open Window -> Show View -> Console (activates the console window, but it's still hidden).
  2. Alt-Space (activates the context menu).
  3. Select maximize (actually shows the console window).

This works, since I have the console window open on the second screen as in the question. Not sure if this bug happens when console is not in a separate window.

Solution 9 - Eclipse

Tested under Windows 7 with "Console"-view

Select in menu Window -> Show View -> Console

The main window becomes inactive and invisible Console-window is now active.

Now, press Alt+Space combination and somewhere on main Display appears small menu with window-controls.

Select "Maximize" and the hidden window becomes maximized on main Display. Now just drag the view with mouse to the main eclipse window.

Solution 10 - Eclipse

In my case, the 'reset perspective' approach does not work. As an alternative to those who are building Android apps or such. Try Window > Open Perspective > Others > Java (Default). Hope that helps.

Solution 11 - Eclipse

I tried all of the suggestions below, but none of them worked. Here is what finally worked for me.

  1. Go to the workspace folder and change its file name.
  2. Open eclipse and accept the new workspace.
  3. Import projects into the new workspace.

If you're like me and have a lot of projects its a pain but it worked, and I get to leave out a few projects that I don't need anymore. Good Luck!

Solution 12 - Eclipse

I opened a new window and it solved my problem of my editor failing to open a file - resetting perspective and deleting indexes did not solve my problem.

Solution 13 - Eclipse

I did Window->Perspective->Reset Perspective on all of my Perspectives within Eclipse Mars, and it did the trick in restoring all of my views.

Solution 14 - Eclipse

You can save the file which is invisible and click on any other file to open. And then open the invisible file. It will get opened in the editor.

Solution 15 - Eclipse

window -> New Window         //Opens with no editors, but preserves views layout
window -> reset perspective  //Keep editors, but resets layout view

If i understood your description correctly - you'll get what you want.

Solution 16 - Eclipse

In my case Ctrl-F Find and Replace window would not display. Tried everything. What worked for me:

  • assign Ctrl-F to another action like Search
  • press Ctrl-F
  • a popup menu allows you to choose which action
  • select Find and Replace (which actually shows the popup!!!!)
  • Close the Find and Replace Window
  • Unbind the key from Search

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionStephane GrenierView Question on Stackoverflow
Solution 1 - Eclipse0xbadc0deView Answer on Stackoverflow
Solution 2 - EclipselapisView Answer on Stackoverflow
Solution 3 - Eclipsecyber-monkView Answer on Stackoverflow
Solution 4 - Eclipseuser79878View Answer on Stackoverflow
Solution 5 - EclipseMartin EllisView Answer on Stackoverflow
Solution 6 - EclipseMichael ScheperView Answer on Stackoverflow
Solution 7 - EclipseGiladView Answer on Stackoverflow
Solution 8 - EclipseDejan JovanovićView Answer on Stackoverflow
Solution 9 - EclipseGeorg SawtschukView Answer on Stackoverflow
Solution 10 - EclipsedigiknowzoneView Answer on Stackoverflow
Solution 11 - EclipseRoger BelkView Answer on Stackoverflow
Solution 12 - Eclipsescot cee khoateView Answer on Stackoverflow
Solution 13 - EclipseWolfieView Answer on Stackoverflow
Solution 14 - EclipseRajashree BView Answer on Stackoverflow
Solution 15 - EclipseWenderView Answer on Stackoverflow
Solution 16 - EclipseSystemsplanetView Answer on Stackoverflow