Bug 396985 - allow exclusion of directories in search
Summary: allow exclusion of directories in search
Status: CLOSED DUPLICATE of bug 40568
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Search (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Search-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-20 06:08 EST by david collier CLA
Modified: 2013-01-03 10:52 EST (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 david collier CLA 2012-12-20 06:08:48 EST
I tried putting !directoryname in the "search these files" box, but it did not, as I'd have hoped, stop the search from traversing that branch of the tree.

Could the inclusion of "exclude directory name" ( with a trailing \ or / if we must disambiguate from a file name ), be a useful additional feature?

During build I create a tree of output files to be installed, and I'd quite like the search not to look in it, as it just duplicates the original files elsewhere in the project.
Comment 1 Dani Megert CLA 2013-01-03 10:52:05 EST
Hint: You could use working sets as a workaround.

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