我可以让Eclipse File Search包含IvyDE jar吗?

时间:2022-12-11 06:27:16

The Eclipse File Search dialog doesn't seem to be playing nicely with my IvyDE (2.0.0beta1) dependency jars. That is, my IvyDE brings some-dep.jar/some-dep.zip (class/source), but I don't see any way to get my file search (ctrl+h search) to include these resources when searching for text -- so if MAGIC_FLAG appears only in the Magic class inside some-dep, I won't be able to find it.

Eclipse File Search对话框似乎与我的IvyDE(2.0.0beta1)依赖jar无关。也就是说,我的IvyDE带来了一些dep.jar / some-dep.zip(类/源),但我没有看到任何方法让我的文件搜索(ctrl + h搜索)在搜索文本时包含这些资源 - 所以如果MAGIC_FLAG只出现在some-dep中的Magic类中,我将无法找到它。

Any thoughts on how to fix/extend/make better?

关于如何修复/扩展/改进的任何想法?

1 个解决方案

#1


You'll have to create a "working set" specifically to include that jar:

你必须专门创建一个“工作集”来包含那个jar:

Ctrl-H -> File h-> Working Set (Choose) -> "Java" -> (Pick your resources and jars)

Ctrl-H - >文件h->工作集(选择) - >“Java” - >(选择你的资源和罐子)

#1


You'll have to create a "working set" specifically to include that jar:

你必须专门创建一个“工作集”来包含那个jar:

Ctrl-H -> File h-> Working Set (Choose) -> "Java" -> (Pick your resources and jars)

Ctrl-H - >文件h->工作集(选择) - >“Java” - >(选择你的资源和罐子)