Bug 204036 - [package explorer] Add text filter to package explorer
Summary: [package explorer] Add text filter to package explorer
Status: RESOLVED DUPLICATE of bug 149110
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-19 16:59 EDT by DJ Houghton CLA
Modified: 2007-11-22 03:35 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DJ Houghton CLA 2007-09-19 16:59:17 EDT
It would be nice if the Package Explorer had a text field at the top which would act like a filter for the visible projects. This would be similar to the filter in the preference pages.
Comment 1 Martin Aeschlimann CLA 2007-09-20 04:51:54 EDT
On what elements would the filter work on? I assume on all elements in the tree, from projects to type and fields names.
Only on the expanded elements or also on the not yet expanded elements?

The last one difficult as it would require to open all files and parse the content. Or we have a index containing all elements.

That's why we have the open type and open resources dialogs, which are both highly optimized as a all type search normally takes several seconds.
Comment 2 DJ Houghton CLA 2007-09-20 06:15:09 EDT
Maybe have settings so the user could choose projects, packages and/or types (filenames)? I wouldn't think that we would want it to go as deep as methods and fields... I would guess that would be an expensive calculation.
Comment 3 Martin Aeschlimann CLA 2007-09-20 06:33:33 EDT
Stopping at packages (maybe even compilation unit) would make this a feasible request. But I'm not sure if users would understand this limitation. Wouldn't it look like a half-baked feature?
Comment 4 DJ Houghton CLA 2007-09-20 06:41:22 EDT
Perhaps, I guess it would depend on how users have their workbench set up.

Personally I only go to the level of types in my Package Explorer and I use my Outline view to look at the fields and methods. I find if I dig deeper in the package explorer then it gets too cluttered.

Maybe this is a better request for the Navigator view?
Comment 5 Martin Aeschlimann CLA 2007-09-20 06:45:49 EDT
The navigator has been replaced by the project explorer, which would again have the problems with Java resources.

I must say I also would like to see such a feature, best for all views.
But the problem is really that the tree would have to be eagerly populated.
Comment 6 Martin Aeschlimann CLA 2007-11-22 03:35:56 EST

*** This bug has been marked as a duplicate of bug 149110 ***