How to attach the console in eclipse?

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.


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


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