27

In eclipse the console is somehow undocked. Now it's appearing like below :

enter image description here

How to attach it to the window? I tried the "pin console" button but nothing happening. I am running eclipse kepler.

Please help.

Leo
  • 5,017
  • 6
  • 32
  • 55

8 Answers8

55

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!

console

Venkatesh Achanta
  • 624
  • 1
  • 14
  • 31
Sriram
  • 681
  • 5
  • 4
  • Why resetting? This is much better. Thanks! – Malu Nov 01 '17 at 07:12
  • 4
    This is definitely the best answer. The reset perspective option will destroy all other perspective changes including the one that the user wants to maintain – RedEagle Oct 18 '18 at 10:53
  • This approach doesn't work if you have another Eclipse window open; you will have to close other windows before you can drag the tab back to your main window. (As of Eclipse version 4.22.0) – drmuelr Jan 18 '23 at 01:05
40

You can click Windows > Reset perspective to go back to default perspective settings.

MissGeek
  • 664
  • 7
  • 10
  • 9
    This is not the best answer as it will reset everything you have already setup, See Sriram's answer for best solution – Huangism Dec 04 '18 at 15:14
6

The easiest method that worked for me in Eclipse Photon is:

  1. Click on the Open Console icon present amongst the icons on the console window.

Open Console icon:
enter image description here

  1. Click on New Console View



New Console View:
enter image description here

This will start a docked version of the current console. And the one which is detached can be simply closed thereafter.

Ramprasath Selvam
  • 3,868
  • 3
  • 25
  • 41
aatif zaidi
  • 61
  • 1
  • 2
1

Go to WINDOW, then select these submenus:

  • SHOW VIEW

  • CONSOLE

As in this screenprint:

enter image description here

that's it

giusti
  • 3,156
  • 3
  • 29
  • 44
  • This is not an answer. As you are new, you cannot comment until you have participated for some time and earned reputation. Stack Overflow is not a bulletin board. You need to answer questions or post your own. Please take some time to read the help page, especially the sections named ["What topics can I ask about here?"](http://stackoverflow.com/help/on-topic) and ["What types of questions should I avoid asking?"](http://stackoverflow.com/help/dont-ask). And more importantly, read [the Stack Overflow question checklist](http://meta.stackexchange.com/q/156810/204922) before you do. – herrbischoff Sep 28 '19 at 15:16
0

Window->Perspective->Reset Perspective

Da Xu
  • 33
  • 1
  • This is the same solution as in the [accepted answer](https://stackoverflow.com/a/30835841/1519716). _When answering older questions that already have answers, please make sure you provide either a novel solution or a significantly better explanation than existing answers._ – drmuelr Jan 18 '23 at 00:55
0

Grab on Git Staging icon, drag and drop on console bar:

Grab on Git Staging icon, drag and drop on console bar

Zach Jensz
  • 3,650
  • 5
  • 15
  • 30
-1
  1. From opened Eclipse; go to Window>Perspective>Reset Perspective
  2. Back to Window>Show View
  3. Click on Console.

I found this convenient.

  • This is the same solution as in the [accepted answer](https://stackoverflow.com/a/30835841/1519716). _When answering older questions that already have answers, please make sure you provide either a novel solution or a significantly better explanation than existing answers._ – drmuelr Jan 18 '23 at 00:55
-2

You can click on Windows > Reset perspective. It will reset perspective settings

  • 3
    This is the same solution as in [the accepted answer](https://stackoverflow.com/a/30835841/2227743). *When answering older questions that already have answers, please make sure you provide either a novel solution or a significantly better explanation than existing answers.* – Eric Aya Oct 08 '21 at 10:49