Bug 274726 - [Markers] Enhance content-filter of Problem-View
Summary: [Markers] Enhance content-filter of Problem-View
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 275453 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-02 10:43 EDT by Gernot Belger CLA
Modified: 2019-09-06 16:05 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gernot Belger CLA 2009-05-02 10:43:13 EDT
Dialog 'Configure Contents' of the Problems-View:
it would be very nice, if the contents of the problem view could be filtered by than just the description. Especially 'path' would be useful for filtering away third-party or generated source-code.
Comment 1 Hitesh CLA 2009-05-05 05:34:32 EDT
You can use the Scope filter and workingsets to achieve this.
Comment 2 Gernot Belger CLA 2009-05-06 03:36:27 EDT
How exactly? As far as i see, this only works, if the to-be-filtered source is in another project.
If it resides in the same project, working-sets do not help. Example: think of two source-folders in the same project, 'src' and 'srcbind', the latter containing source generated by JAXB. The 'srcbin' folder will always contain many warnings, oblitering the real warning from 'src'.
Of course, you could set the scope to selected only (i.e. the 'src' folder), but in this case you miss the general warning from the project itself (i.e MANIFEST.MF etc.) and it does not work when selecting several projects at once.
Comment 3 Hitesh CLA 2009-05-06 05:17:16 EDT
Hmm. Given your usecase of excluding a few specific resources, I get it. Thanks for the details.Will look into this for 3.6.
Comment 4 Gernot Belger CLA 2009-05-06 05:19:38 EDT
Great, Thanks!
Comment 5 Hitesh CLA 2009-05-06 05:27:25 EDT
I can think of :

1. Adding a finer way of selecting from workingset scope.( On contained resources and its children). This should allow you to create workingsets with just the project folder itself, manifest.mf,etc.And another one for the other projects and src.

2. Or less likely, an exclusion filter for scope. This would add to the size of the dialog and require some rework.

Comment 6 Gernot Belger CLA 2009-05-06 05:36:42 EDT
Hm, 1. sound still a bit complicated (defining all these detailed working-set for bigger projects).
If 2 is too unlikely, why not just add a line below description (Description contains/doesn'tcontain <some pattern>) for the path of the marker (Path contains/doesn'tcontain <another pattern>)? 
Comment 7 Eric Moffatt CLA 2009-05-07 10:51:37 EDT
Hitesh, you should set the milestone to 3.6 if you intend to work on this.
Comment 8 Hitesh CLA 2010-04-06 09:39:40 EDT
*** Bug 275453 has been marked as a duplicate of this bug. ***
Comment 9 Hitesh CLA 2010-04-06 09:42:00 EDT
See Bug 293061.
Comment 10 Eclipse Webmaster CLA 2019-09-06 16:05:28 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.