'Why does Eclipse open my java files as a tab in the package explorer view?

Whenever I want to open a file in the package explorer, it will be opened as a new tab in the same view as the package explorer. Last time I started Eclipse, the were all opened in a seperate editor view.

Screenshot



Solution 1:[1]

open Window -> Perspective -> Reset Perspective It worked fine for me. Then you can just minimize all the other open tabs you don't need like Task List...

Solution 2:[2]

I faced the same issue and had to shift the newly opened tab manually.

Doing Window-> Perspective->Reset perspective brought the views to their default positions.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nadine Nassar
Solution 2 Prashant