Stephane Grenier
Stephane Grenier

Reputation: 15927

Eclipse IDE view gone - how to get it back

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?

Upvotes: 85

Views: 78557

Answers (16)

cyber-monk
cyber-monk

Reputation: 5560

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.

Upvotes: 12

Systemsplanet
Systemsplanet

Reputation: 419

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

Upvotes: 0

Wender
Wender

Reputation: 1001

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.

Upvotes: 0

0xbadc0de
0xbadc0de

Reputation: 3925

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.

Upvotes: 194

Dejan Jovanović
Dejan Jovanović

Reputation: 2125

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.

Upvotes: 2

lapis
lapis

Reputation: 7092

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!

Upvotes: 23

Rajashree B
Rajashree B

Reputation: 1

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.

Upvotes: 0

Wolfie
Wolfie

Reputation: 1

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.

Upvotes: 0

Gilad
Gilad

Reputation: 618

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

Upvotes: 2

Georg Sawtschuk
Georg Sawtschuk

Reputation: 11

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.

Upvotes: 1

scot cee khoate
scot cee khoate

Reputation: 1

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.

Upvotes: 0

Michael Scheper
Michael Scheper

Reputation: 7038

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!

Upvotes: 2

Roger Belk
Roger Belk

Reputation: 309

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!

Upvotes: 0

digiknowzone
digiknowzone

Reputation: 45

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.

Upvotes: 0

user79878
user79878

Reputation: 845

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.

Upvotes: 10

Martin Ellis
Martin Ellis

Reputation: 9651

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

Upvotes: 2

Related Questions