从 IntelliJ 开始——像 Eclipse 中的依赖管理器?
Starting with IntelliJ - Dependency manager like in Eclipse?
我是 IntelliJ IDEA 的新手,我一直在寻找一些插件,它允许我像这样轻松地管理依赖项(请看下图)以轻松 add/remove 依赖项。我还没有发现任何东西。也许你们中有人知道任何插件。
图片Link:Eclipse pom.xml dependency manager
这对我来说真的很重要,因为我 add/remove 依赖很多,从网上复制它真的需要很多时间,检查它是否是最新版本等等。
IDEA中没有这个视图
您可以像这样添加依赖项:https://www.jetbrains.com/help/idea/2016.2/generating-maven-dependencies.html
Open the desired pom.xml file for editing.
With the editor tab having the focus, choose Code | Generate on the main menu, or press Alt+Insert, and choose Dependency from the Generate pop-up window.
查看所有依赖关系图的描述如下:https://www.jetbrains.com/help/idea/2016.2/working-with-maven-dependencies.html
Do one of the following:
In the Maven Projects tool window, right-click the desired sub project or a package, and choose Show Dependencies, or Show Dependencies Popup.
Right-click pom.xml in the editor, and choose Dependencies | Show Dependencies /Show Dependencies popup.
我同意 Eclipse 方式看起来更好。
您可以在此处提交功能请求:
https://youtrack.jetbrains.com/issues/IDEA
如果你这样做了请告诉我。我投赞成票。
我是 IntelliJ IDEA 的新手,我一直在寻找一些插件,它允许我像这样轻松地管理依赖项(请看下图)以轻松 add/remove 依赖项。我还没有发现任何东西。也许你们中有人知道任何插件。
图片Link:Eclipse pom.xml dependency manager
这对我来说真的很重要,因为我 add/remove 依赖很多,从网上复制它真的需要很多时间,检查它是否是最新版本等等。
IDEA中没有这个视图
您可以像这样添加依赖项:https://www.jetbrains.com/help/idea/2016.2/generating-maven-dependencies.html
Open the desired pom.xml file for editing. With the editor tab having the focus, choose Code | Generate on the main menu, or press Alt+Insert, and choose Dependency from the Generate pop-up window.
查看所有依赖关系图的描述如下:https://www.jetbrains.com/help/idea/2016.2/working-with-maven-dependencies.html
Do one of the following:
In the Maven Projects tool window, right-click the desired sub project or a package, and choose Show Dependencies, or Show Dependencies Popup.
Right-click pom.xml in the editor, and choose Dependencies | Show Dependencies /Show Dependencies popup.
我同意 Eclipse 方式看起来更好。 您可以在此处提交功能请求: https://youtrack.jetbrains.com/issues/IDEA
如果你这样做了请告诉我。我投赞成票。