Questions tagged [package-explorer]

The Eclipse Package Explorer is a view that shows the files belonging to a project.

The Eclipse Package Explorer is an view containing all files belonging to the projects available in the Eclipse workspace.

Questions specifically about the package-explorer itself or its functionalities should use this tag.

73 questions
432
votes
3 answers

How to view hierarchical package structure in Eclipse package explorer

OK here's what I would like: in the Eclipse package explorer, I see the following: (dot represents a clickable arrow that I can use to expand the folder) PROJECT Source Folder Package Class…
Philip
  • 7,253
  • 3
  • 23
  • 31
48
votes
3 answers

What do the icons for methods in Eclipse mean?

Possible Duplicate: What do the icons in Eclipse mean? In the "Package Explorer" in the Eclipse IDE, I can click on a Java class and list all its methods. The methods are displayed with a few different icons before the name, including a green…
Jonas
  • 121,568
  • 97
  • 310
  • 388
34
votes
3 answers

How to hide src folder from Eclipse Project Explorer?

I use a maven standard directory layout for my projects. The image Below is a typical project explorer view of a "not so minimum working example" of the view I want to customize. As you can see, all the relevant folders are marked as source…
mamuso
  • 3,117
  • 3
  • 30
  • 32
32
votes
2 answers

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…
Touko
  • 11,359
  • 16
  • 75
  • 105
18
votes
13 answers

Package explorer not showing...packages, in Eclipse. How to fix it?

By some reason, it seems my Package Explorer is showing the folder structure of my project instead of its package structure. How would I go about "fixing" this? I've tried playing with the filters but it seemed of no avail. Thanks!
devoured elysium
  • 101,373
  • 131
  • 340
  • 557
12
votes
3 answers

How to save the "Package Explorer" in Eclipse

Is it possible, to save the state of the package explorer when closing Eclipse (3.4) and to restore it when opening the workspace again? By state I mean the nodes (expanded or collapsed).
Burkhard
  • 14,596
  • 22
  • 87
  • 108
8
votes
1 answer

How to programmatically select nodes in Package Explorer in Eclipse plugin

Does anybody know or have an example on how to select node(s) programmatically in the Package Explorer view in Eclipse plugin? I see some help on how to get current selection but not on how to set them. Thanks.
Tim
  • 379
  • 4
  • 16
7
votes
4 answers

How to sort projects alphabetically by name in PyDev Package Explorer in Eclipse?

In addition is there any universal way of doing this which works for other types of projects (in other perspectives) as well?
Piotr Dobrogost
  • 41,292
  • 40
  • 236
  • 366
7
votes
2 answers

Eclipse package explorer empty

I'm new to Eclipse, and I can't seem to get the package explorer to cooperate. Here is my current file tree: └───workspace ├───bin │ └───var ├───res │ └───gui └───src └───var └───all of my source code I…
Code Monkey2
  • 151
  • 1
  • 1
  • 8
5
votes
1 answer

Is Extending Eclipse Package Explorer Impossible?

Is it possible to extend the Package Explorer of Eclipse by binding a custom navigatorContent? When I tested the Project Explorer with my custom navigatorContent, like the xml code below, my contentProvider and labelProvider worked fine with the…
hanmomhanda
  • 305
  • 1
  • 2
  • 15
5
votes
2 answers

How to programmatically change the selection within package explorer

I am currently developing a plugin for eclipse that analyzes dependencies and references between projects within the Eclipse Workspace and displays them in its own View in a UML-like diagram. To increase the usefulness of my plugin, I wish to add…
Dragondraikk
  • 1,659
  • 11
  • 21
4
votes
1 answer

Eclipse - Avoid the scrolling behaviour upon closing a file

When you open a file in a project and then close it the Package Explorer will scroll to a file in another project if there is a file open there. Is there a way to stop this behaviour?
James P.
  • 19,313
  • 27
  • 97
  • 155
4
votes
1 answer

Closed projects in Eclipse don't appears in a working set in a package explorer

I recently installed a new version of eclipse (2018-09), and faced with this problem. So let say we have 4 opened projects A,B,C and D: 4 projects And then we create new working set WS_01 with: View Menu (down arrow icon in package explorer) >…
4
votes
1 answer

Is there a way to make Eclipse Package Explorer show output directory content?

I hate having to switch to the Navigator view just to see what was built. For example, if I want to see if my *.properties files getting moved, etc. I tried removing all of the Filters... from Package Explorer's dropdown menu, but it is still not…
successhawk
  • 3,071
  • 3
  • 28
  • 44
4
votes
1 answer

How to sort items by date in Package Explorer in Eclipse?

How to sort items by date in Package Explorer in Eclipse? Is this possible? Currently it sorts alphabetically. I want my last touched projects to be top or bottom.
Dims
  • 47,675
  • 117
  • 331
  • 600
1
2 3 4 5