Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Package explorer: (default package) always shown, why?
Package explorer: (default package) always shown, why? [message #250585] Fri, 11 January 2008 10:08 Go to next message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

Hello all!
After working for some times with Eclipse, I have a strange behaviour.

By default, the package explorer hides the "(default package)" package
in a Java project when you don't have any class in the default package.

But now, for some reason, the "(default package)" is always shown, even
if it is empty: why? What happened? How to revert back to the default
behaviour?

If configure the filters and filter out the empty packages, the
"(default package)" entry goes away if it is empty, but then any empty
package is filtered, even if it's a just newly created one (and this is
annoying).

Thanks in advance!
Mauro.
Re: Package explorer: (default package) always shown, why? [message #250627 is a reply to message #250585] Sat, 12 January 2008 07:14 Go to previous messageGo to next message
Eclipse UserFriend
Mauro Molinari wrote:

> Hello all!
> After working for some times with Eclipse, I have a strange behaviour.
>
> By default, the package explorer hides the "(default package)" package
> in a Java project when you don't have any class in the default package.
>
> But now, for some reason, the "(default package)" is always shown,
> even if it is empty: why? What happened? How to revert back to the
> default behaviour?
>
> If configure the filters and filter out the empty packages, the
> "(default package)" entry goes away if it is empty, but then any empty
> package is filtered, even if it's a just newly created one (and this
> is annoying).

Use the 'Empty parent packages' filter

Dani

>
> Thanks in advance!
> Mauro.
Re: Package explorer: (default package) always shown, why? [message #250662 is a reply to message #250627] Mon, 14 January 2008 03:46 Go to previous message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

Daniel Megert ha scritto:
> Use the 'Empty parent packages' filter

Hi Daniel!
Actually, it was selected but, for some reason, it wasn't active... I
deselected and selected it again and it seems to do the trick...

Thank you very much!
Mauro.
Previous Topic:Programaticaly change an annotaion
Next Topic:Where are junit test cases for jdt quick fixes ?
Goto Forum:
  


Current Time: Fri Apr 25 02:44:38 EDT 2025

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

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

Back to the top