Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent Eclipse from showing the opened file in package explorer

somehow I've ended up in a situation such that when I navigate through source files with Eclipse, the Eclipse always selects (and expands) the opened file with package explorer. With this I end up

  • losing my location on Package Explorer
  • Having my Package explorer expanded and pretty confusing.

With brief googling/exploring on the preferences I couldn't find this one..

Eclipse version is 3.4 if that happens to matter.

Thanks in advance, Touko

like image 539
Touko Avatar asked Apr 28 '09 12:04

Touko


People also ask

How do I fix package explorer in Eclipse?

You could try holding down Ctrl + F7 to see a list of all views, then up/down arrow to the View. If Package Explorer is in the list it has been minimised or something. If you select it and still can't see it, try Window → Reset Perspective... to restore all views to their defaults.

What is the difference between project Explorer and Package Explorer in Eclipse?

Project Explorer additional nodes for web projects, enterprise projects, spring beans and web services. Package Explorer - Provided by the Java Development Tools (JDT) UI project, this provides a view of Java classes for the workspace.

What is Eclipse Package Explorer?

The Package Explorer view, shown by default in the Java perspective, shows the Java element hierarchy of the Java projects in your workbench. It provides you with a Java-specific view of the resources shown in the Navigator. The element hierarchy is derived from the project's build paths.


1 Answers

Turn off the "Link with Editor" option in the Package Explorer toolbar.

Package Explorer (the left/right arrow icon, turned on here)

like image 160
Gene Gotimer Avatar answered Oct 11 '22 06:10

Gene Gotimer