[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.jdt] Re: How to avoid search hits in JAR files?
|
- From: "Antranig Basman" <nospam@xxxxxxxxxx>
- Date: Sat, 08 Sep 2007 21:41:57 +0100
- Newsgroups: eclipse.tools.jdt
- Organization: EclipseCorner
- User-agent: Opera Mail/9.22 (Win32)
On Sat, 08 Sep 2007 21:10:03 +0100, Eric Rizzo <eclipse5@xxxxxxxxxxxx>
wrote:
Antranig Basman wrote:
A framework I am developing deploys JARs which end up in dozens of
projects in my workspace,
and hence any searches I make have copious duplicate hits, for each
copy of the JARs. How
can I filter searches to exclude these? None of the supplied filter
options seem slightly
relevant, which all relate to the *code context* of the hit, rather
than its packaging.
You can define a Working Set (or Working Sets) that only includes the
source that you want to search, then limit the scope of the search to
the Working Set(s).
Hope this helps,
Eric
Cheers Eric -
Yes, I had considered working sets. The issue is, these JARs are
dependencies of projects that I *do* want searched, that is, I would
like the code directly within the projects to be marked as a
search target, but would like to exclude JARs within the same
project (really, a setting to exclude JARs from search across the entire
workspace would be ideal). Unless I use any option other than "group by
project", it is now extremely difficult to sort out the hits I need amongst
the dozens of "decoys".
Antranig.