Warm tip: This article is reproduced from serverfault.com, please click

java-Intellij:在项目中搜索Maven依赖项的源

(java - Intellij: Search through the source of maven dependencies in a project)

发布于 2014-04-17 09:06:33

是否可以通过项目所有maven依赖项的源代码来搜索一些文本?

例如:如果你导入以下示例maven项目:https : //github.com/ajorpheus/javadoc-mem-test/tree/search-in-jars,则搜索tempHeaders应显示AbstractClientHttpRequest.java为搜索结果。

是否有一个允许执行此操作的插件?

如果Intellij不支持此功能,那么在给定的Maven项目中,你是否知道与IDE无关的方法?我看过像jarexplorer这样的工具,但它们似乎没有完成任务。

Questioner
Ashutosh Jindal
Viewed
0
Ashutosh Jindal 2014-04-17 17:17:08

我发现了该怎么做!

使用“项目和库”自定义范围。

在此处输入图片说明