Default package always visible [message #326633] |
Wed, 26 March 2008 15:38  |
Eclipse User |
|
|
|
Hi,
in my Java projects the (default package) is always visible. A collegue of
mine does not see this empty (and in my opinion useless) package in his
projects.
Is there a way to remove this (once I have real packages created)?
Best regards, Lars
|
|
|
|
|
|
|
|
|
Re: Default package always visible [message #326685 is a reply to message #326672] |
Fri, 28 March 2008 09:52   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Walter Harley wrote:
> "Lars Vogel" <Lars.Vogel@gmail.com> wrote in message
> news:fse8n0$3dr$1@build.eclipse.org...
>> Hi,
>>
>> in my Java projects the (default package) is always visible. A collegue of
>> mine does not see this empty (and in my opinion useless) package in his
>> projects.
>>
>> Is there a way to remove this (once I have real packages created)?
>
>
> Seems like some setting in your workspace must have gotten changed. Does
> this happen in newly created workspaces?
>
> I notice there's a setting about folding empty packages in Package Explorer,
> in Prefs -> Java -> Appearance. It doesn't seem to change anything, but
> there's a note at the bottom of the dialog that says it only takes effect
> "on new perspectives", which seems cryptic (i.e., I know how to close and
> open views, but I don't know how to create a "new" perspective). Perhaps
> changing that and then restarting Eclipse would work?
No, restarting Eclipse won't cause the Perspective to reset. You need to
close the Perspective and re-open it (or maybe Window > Reset
Perspective might work, but I doubt it).
Hope this helps,
Eric
|
|
|
|
|
|
Re: Default package always visible [message #326773 is a reply to message #326633] |
Tue, 01 April 2008 03:46  |
Eclipse User |
|
|
|
Lars Vogel wrote:
> Hi,
>
> in my Java projects the (default package) is always visible. A collegue of
> mine does not see this empty (and in my opinion useless) package in his
> projects.
>
> Is there a way to remove this (once I have real packages created)?
>
Sure. Simply enable the 'Empty parent packages' filter (via Package
Explorer view menu > Filters...)
Dani
> Best regards, Lars
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04553 seconds