markedone66
markedone66

Reputation: 111

Starting with IntelliJ - Dependency manager like in Eclipse?

I'm new to IntelliJ IDEA and I was looking for some plugin that allows me an easy dependency management like this (look at the picture below) to easily add/remove dependencies. I have not found anything at all. Maybe someone of you know about any plugin.

Image Link: Eclipse pom.xml dependency manager

It is really important for me since I add/remove dependencies a lot and it really takes a lot of time to copy it from the internet, checking if it's the latest version and etc.

Upvotes: 1

Views: 1220

Answers (1)

eekboom
eekboom

Reputation: 5822

There is no such view in IDEA.

You can add a dependency like so: 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.

Viewing all dependencies as a diagram is described here: 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.

I agree that the Eclipse way looks nicer. You can file a feature request here: https://youtrack.jetbrains.com/issues/IDEA

Let me know if you have done so. I'll vote for it.

Upvotes: 2

Related Questions