IntelliJ IDEA 2019.2 EAP6: Gradle Dependencies Diagram and More

The new EAP build for the upcoming IntelliJ IDEA 2019.2 is here, with some highly anticipated features. Let’s dive right in and have a look at the details.

Gradle Dependencies diagram

With IntelliJ IDEA 2019.1, we’ve significantly improved the Maven diagrams, and with this upcoming release v2019.2, we’ve added the long-awaited support for the Gradle Dependencies diagram.

To view Gradle dependencies as a diagram, click on the Show Dependencies icon on the Gradle tool window toolbar or use the shortcut Alt+Shift+Ctrl+U on Linux and Windows / Alt+Shift+Cmd+U on macOS.

Select the nodes from this diagram and look at their neighbours with the “Show Neighbors of Selected Nodes” action from the toolbar. Select the nodes and see how they are connected to the root by clicking ‘Show Paths: Root -> Selection’.

GradleDiagram

GradleDiagram2

Please note that this feature will only be supported in IntelliJ IDEA Ultimate. Also, the support for diagram requires Gradle 3.3 or higher.

Maven Dependency Completion works on the fly

The upcoming IntelliJ IDEA 2019.2 will instantly provide you with code completion suggestions inside the Maven dependencies in the pom.xml file. Previously it was necessary to update the Maven indices first, which requires some time, but now there is no need for that everything works on the fly.

MavenCompletion

Improved Groovy 3.0 syntax support

The upcoming version of IntelliJ IDEA will improve support for the Groovy 3.0 syntax, and the IDE will support nested code blocks.

Also, in the upcoming v2019.2, to help make it easier to understand the structure of the code and distinguish code blocks from closures, the IDE will make the braces and arrow in closure expression bold by default. You can customize this behavior in Preferences / Settings | Editor | Color Scheme | Groovy | Braces and arrow | Closure expression braces and arrow.

image5

image7

The IDE will now provide a quick-fix to add explicit types for all the parameters in a method declaration for Groovy methods where the types of the parameters aren’t explicitly defined.

image3

Browser for Docker container file system

In the upcoming IntelliJ IDEA 2019.2, it will be possible to view the file system of the running Docker container. The file system will be displayed in the File tab of the Docker node in the Services tool window.

image1

Last but not least, JBR 8 was updated to v1.8.0_212-release-1586-b4. We attempted to build JBR8 with SDK 10.9 on macOS to allow App Notarization (JBR-1543), but unfortunately, it caused the regression (JBR-1579). So we have reverted this change and we will continue to build JBR8 using SDK 10.8 on macOS.

Download and try it out and let us know what you think here in the comments, in our issue tracker or on Twitter.

Happy Developing!

About Zlata Kalyuzhnaya

IntelliJ IDEA Marketing Manager at JetBrains. twitter: @ZlataKalyuzhnay ‏
This entry was posted in EAP Releases and tagged , . Bookmark the permalink.

11 Responses to IntelliJ IDEA 2019.2 EAP6: Gradle Dependencies Diagram and More

  1. Hi, can you please start publishing the release notes again? They were really useful. Also it’s hard to figure out which release is EAP6 without the release number.

    Thanks!

  2. Edoardo Luppi says:

    The integrated Docker container file system explorer is friggin awesome. Thanks!
    However, overall I have to say this EAP round (2019.2) has been much more un-stable than the preceding ones, at least until now. I think this is also caused by the many platform changes. Not really a problem for me anyway, and it’s EAP for this things too. Just wanted to mention.

  3. Alex Katlein says:

    YEEEEEEESSSS! (Insert Thor here)

    Finally, the Gradle Dependency Diagram!

    You have no idea how long I have been waiting for this!

  4. Pedro Airton da Silva says:

    I am working on a project with java + gradel + flex builder, someone could help me to import this project into intellij, thank you any help at all.

  5. Mihhail Verhovtsov says:

    Maybe I’m nitpicking, but I have always found all diagrams in IntelliJ IDEA (powered by yFiles) kind of slow inconvenient to use. This is quite a contrast to the rest of this powerful IDE.

  6. Vojtěch Krása says:

    Graphical Gradle Dependency Diagram?
    How about rather making a usable tree like https://plugins.jetbrains.com/plugin/7179-maven-helper does?

  7. Over says:

    Can you add a new model,it is the current full screen mode, but displays the menu bar at the bottom of the windows system.

  8. Chris Kent says:

    The new code completion in pom files is a step backwards in usability.

    Previously the completion popup contained the artifact ID of matching dependencies. I don’t know exactly how the list was populated, but it always contained a short list of dependencies that were mostly relevant and useful.

    Now the popup contains the group ID and artifact ID of every matching dependency from the entire internet. It’s much harder to find what I’m looking for, both because the list is much longer full of irrelevant libraries, and also because the artifact ID (which is what I care about) is hard to pick out from the group ID (which I don’t care about).

    Please bring back the old behaviour, it worked extremely well.

Leave a Reply

Your email address will not be published. Required fields are marked *