Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » can't figure out filters in Problems view
can't figure out filters in Problems view [message #257952] Tue, 06 January 2009 09:00 Go to next message
Hemal Pandya is currently offline Hemal PandyaFriend
Messages: 14
Registered: July 2009
Junior Member
From the Problems view, I went to the Filters view and created a new
filter called "Project Errors", currently it has the same definition as
the Default filter, i.e. On any element in the same Project, Where
severity is Error or Warning and Show items of All types.

Now, if I keep both the Default and Project Errors filters active
(checked) I see a certain numbers of errors and warnings. If I keep only
the Default filter active, I see the same set.

But if I deactivate Default and keep only Project Errors active, I see
*no* errors or warnings. That is, I am not able to get my custom filters
to work.

What am I doing wrong? Thanks in advance.
Re: can't figure out filters in Problems view [message #257956 is a reply to message #257952] Tue, 06 January 2009 10:55 Go to previous messageGo to next message
Hitesh  is currently offline Hitesh Friend
Messages: 19
Registered: July 2009
Junior Member
The default setting for the "Default" Filter is to work on the Window
Working Set. It might be possible that the currently selected project (in
Navigator or Package Explorer ) does not have any errors or warnings. So
your filter by itself does not report any errors and warnings. However,
when enabled, "Default" filter reports errors from the entire workspace.

Ensure that the filter is configured as described by you - "On any element
in same project " - enable only this (custom) filter, now select a project
having errors, warnings - they should show up.

Hitesh
Re: can't figure out filters in Problems view [message #257960 is a reply to message #257956] Tue, 06 January 2009 11:56 Go to previous messageGo to next message
Hemal Pandya is currently offline Hemal PandyaFriend
Messages: 14
Registered: July 2009
Junior Member
Hitesh,

Thanks for your response. I was pretty sure I had changed the definition
for default but once I Restored Defaults for both filters I saw the same
behavior in whichever was active.

I have finally narrowed it down to: if I choose "On any element in the
same project" for a custom filter (not Default) then no items are
displayed. But I can use any other setting (All elements, etc Working
Set containing root folder of this project) so I am set.


Hitesh wrote:
> The default setting for the "Default" Filter is to work on the Window
> Working Set. It might be possible that the currently selected project
> (in Navigator or Package Explorer ) does not have any errors or
> warnings. So your filter by itself does not report any errors and
> warnings. However, when enabled, "Default" filter reports errors from
> the entire workspace.
> Ensure that the filter is configured as described by you - "On any
> element in same project " - enable only this (custom) filter, now select
> a project having errors, warnings - they should show up.
>
> Hitesh
>
>
>
Re: can't figure out filters in Problems view [message #257968 is a reply to message #257960] Wed, 07 January 2009 07:37 Go to previous message
Hitesh  is currently offline Hitesh Friend
Messages: 19
Registered: July 2009
Junior Member
I could not reproduce the behaviour that you describe. Default or custom,
it is the same filter code eventually, the default filter is no different
from a custom filter. If you can actually reproduce this behaviour on
your system, please file a bug indicating the steps to do so.

Hitesh

Hemal Pandya wrote:

> Hitesh,

> Thanks for your response. I was pretty sure I had changed the definition
> for default but once I Restored Defaults for both filters I saw the same
> behavior in whichever was active.

> I have finally narrowed it down to: if I choose "On any element in the
> same project" for a custom filter (not Default) then no items are
> displayed. But I can use any other setting (All elements, etc Working
> Set containing root folder of this project) so I am set.


> Hitesh wrote:
>> The default setting for the "Default" Filter is to work on the Window
>> Working Set. It might be possible that the currently selected project
>> (in Navigator or Package Explorer ) does not have any errors or
>> warnings. So your filter by itself does not report any errors and
>> warnings. However, when enabled, "Default" filter reports errors from
>> the entire workspace.
>> Ensure that the filter is configured as described by you - "On any
>> element in same project " - enable only this (custom) filter, now select
>> a project having errors, warnings - they should show up.
>>
>> Hitesh
>>
>>
>>
Previous Topic:how to show the object list in the package explorer in tree structure
Next Topic:How to show the logical structure in package explorer
Goto Forum:
  


Current Time: Sun Jun 30 13:58:50 GMT 2024

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

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

Back to the top