can't figure out filters in Problems view [message #257952] |
Tue, 06 January 2009 04:00  |
Eclipse User |
|
|
|
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 #257968 is a reply to message #257960] |
Wed, 07 January 2009 02:37  |
Eclipse User |
|
|
|
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
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.08017 seconds