Can IntelliJ display a searchable maven dependency like Eclipse?

后端 未结 2 1358
再見小時候
再見小時候 2020-12-13 23:19

I\'m starting to use IntelliJ IDEA 13 Ultimate Edition and was wonder if it had a searchable tabular view of maven dependencies for a project like Eclipse does. For example,

相关标签:
2条回答
  • 2020-12-13 23:52

    Firstly, you have the maven plugin enabled, and you can build your project in IntelliJ via the Maven Projects pane (top right) ?

    Now, you can see all your maven dependencies in a linear list in the Project pane (top left), underneath your source code. You can also type a search-string (e.g. "apache" will highlight all your org.apache.x.y.z dependencies.

    For a structural view of the dependencies, you can start with one of the maven modules in the Maven Projects pane. Go to My Module -> dependencies and browse the tree. You can go to the pom of any of the dependencies in this tree with f4.

    From within any pom, control-clicking on another artifactId will navigate to that pom, if available.

    I hope this helps!

    0 讨论(0)
  • 2020-12-14 00:03

    Try Maven Helper plugin: once you install it, every POM file gets a tab for "Dependency Analyzer" which also includes a search bar.

    If you need something more, report an issue. But it should be easy to implement it yourself and send a pull request.

    0 讨论(0)
提交回复
热议问题