Skip to main content



      Home
Home » Newcomers » Newcomers » How to get Package Explorer to match Windows Explorer.
How to get Package Explorer to match Windows Explorer. [message #1780328] Sat, 20 January 2018 03:19 Go to next message
Eclipse UserFriend
I have a project in Eclipse Oxygen where the Package Explorer view doesn't match that of Windows.

In particular there is a "bin" folder that never appears in Eclipse but is being modified when the project is built.

I've tried refreshing, closing the project and reopening and, gasp, reading the manual.
I even created a "New Folder" and refreshed. It appears in Package Explorer.

Anybody know where or how to correct this?
Re: How to get Package Explorer to match Windows Explorer. [message #1780330 is a reply to message #1780328] Sat, 20 January 2018 06:25 Go to previous messageGo to next message
Eclipse UserFriend
The Package explorer is designed never to show the bin folders. The Navigator view will show you more of a "raw" view of the folder structure, but then you lose all the nice features of the Package explorer. I doubt you'll ever have any real need to look at the bin folder. When the need does arise, from the context menu of any project, folder, or file you can use Show In -> Navigator.
Re: How to get Package Explorer to match Windows Explorer. [message #1780339 is a reply to message #1780330] Sat, 20 January 2018 11:40 Go to previous messageGo to next message
Eclipse UserFriend
There's nothing to correct. The contents of the build output folder are subject to being erased at any time. Anything that you would want to modify in there should be in your source folder or another parh that is visible.
Re: How to get Package Explorer to match Windows Explorer. [message #1780341 is a reply to message #1780339] Sat, 20 January 2018 12:36 Go to previous messageGo to next message
Eclipse UserFriend
https://www.youtube.com/watch?v=EJpCbbb4J_U
Re: How to get Package Explorer to match Windows Explorer. [message #1780343 is a reply to message #1780341] Sat, 20 January 2018 12:52 Go to previous messageGo to next message
Eclipse UserFriend
This seems like a different thing.

There might be a bug in terms of how quickly it hides things, but your main package wasn't shown on its own until it has more than one child because you're using the flattened presentation. If you want to be pedantic about seeing even empty and redundant packages, use the View's local Menu to change the Package Presentation to Hierarchical.
Re: How to get Package Explorer to match Windows Explorer. [message #1780346 is a reply to message #1780343] Sat, 20 January 2018 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Nitin Dahyabhai wrote on Sat, 20 January 2018 17:52
This seems like a different thing.

There might be a bug in terms of how quickly it hides things, but your main package wasn't shown on its own until it has more than one child because you're using the flattened presentation. If you want to be pedantic about seeing even empty and redundant packages, use the View's local Menu to change the Package Presentation to Hierarchical.


Thanks for your help . but there is not any delay i can stay half hour wathing it and it will not change if i do not create something inside. Also im already using Hierachical view

New bug when i try rename package with other packages inside : check attached


[Updated on: Sat, 20 January 2018 14:03] by Moderator

Re: How to get Package Explorer to match Windows Explorer. [message #1780351 is a reply to message #1780346] Sat, 20 January 2018 16:36 Go to previous messageGo to next message
Eclipse UserFriend
What are error we supposed to see in that image? Also, this isn't the bug reporting system. That would be bugs.eclipse.org.

[Updated on: Sat, 20 January 2018 16:38] by Moderator

Re: How to get Package Explorer to match Windows Explorer. [message #1780680 is a reply to message #1780339] Thu, 25 January 2018 11:49 Go to previous message
Eclipse UserFriend
Nitin Dahyabhai wrote on Sat, 20 January 2018 16:40
There's nothing to correct. The contents of the build output folder are subject to being erased at any time. Anything that you would want to modify in there should be in your source folder or another parh that is visible.


The .class files go there. I could live live with the .class files being in the source folder. How would I do that?

A related question.

Is it possible to not have folders duplicated?

Example:

Windows has:
proj
src
bin
.classpath

Package Explorer produces:
proj
default this, that and the next thing
src
proj
bin
.classpath

Is it possible to not have default packages and the like. It caused me a *lot* of grief when importing some projects from Mars.
Previous Topic:Java compiler error in a comment
Next Topic:Installation of Eclipse on Terminal Server
Goto Forum:
  


Current Time: Thu Jul 10 05:17:35 EDT 2025

Powered by FUDForum. Page generated in 0.34701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top