Idea logo

The IntelliJ IDEA Blog

The Capable & Ergonomic Java IDE by JetBrains


IntelliJ IDEA 2018.2: MacBook Touch Bar, Java 11, Breakpoint Intentions, Spring Boot, Version Control, and More

Today’s the day! Please welcome a new major update – IntelliJ IDEA 2018.2! It’s packed full with exciting new features and ready for you to download! Read this post for a brief summary of the main highlights, don’t forget to check out the What’s New page for more details and screenshots.

IntelliJ IDEA 2018.2

  • Java
    • Support for the upcoming Java 11. Learn more.
    • Data flow information can be viewed in the editor.
    • The IDE displays type hints for long method chains.
    • It’s now possible to configure Quick Documentation to pop-up together with autocompletion.
    • A new preview panel for Extract Method lets you check the results of your refactoring before you make any actual changes.
    • The @Contract annotation adds new return values: new, this, and paramX.
    • New and updated inspections and intention actions include smarter Join Line action and improved Stream API support, among many others. Learn more.
  • Editor
    • You can now jump outside the closing bracket or quote with Tab.
    • Reassigned local variables and reassigned parameters are now underlined by default.
    • For or while keywords are highlighted when you place the caret on the corresponding breakorcontinue keyword.
  • User interface
    • MacBook Touch Bar is supported.
    • Dark window headers are available.
    • An updated IntelliJ theme on Linux.
    • We’ve changed to new UI icons. Learn more
  • VCS
    • The updated Files Merged with Conflicts dialog displays Git branch names and adds a new Group files by directory option.
    • You can open several Log tabs in the Version Control toolwindow.
    • The IDE now displays the Favorites branches in the Branch filter on the Log tab.
    • You can preview the diff in the VCS Log.
    • Tags can be deleted from Git commits via the context menu of the Log tab.
    • Explore the repository state based on a given revision by using the new Browse Repository at Revision action.
    • Skip the Push dialog completely when usingCommit and Push, or display it only when committing to protected branches.
    • Configure as many GitHub accounts as needed in Preferences | Version Control | GitHub.
    • Autocompletion for Git tags is available in the Checkoutdialog.
  • JVM debugger
  • Gradle
    • Included buildSrc Gradle projects are discovered automatically.
    • Debug Gradle DSL blocks.
  • Maven
    • The IDE now supports the “release” option of the maven-compiler-plugin.
    • There’s a quick-fix to suppress a warning for dynamically created properties.
  • Configuration
    • Exclude only some of the transitive dependencies when adding a new repository library.
    • Assign shortcuts to actions right from the Find Action pop-up.
  • Differences Viewer
    • A new Open Blank Diff Viewer action opens an emptyDifferences Viewerto compare any text sources you want.
  • Spring Boot
    • A new Spring Runtime Beans diagram helps you visualize the dependencies between beans in the runtime.
    • Manage HTTP requests mappings from the Run Dashboard.
  • Spring Integration
    • Spring Integration 5.0 is supported.
  • Kotlin
    • The Kotlin plugin bundled with the IDE has been updated to v1.2.51.
    • Runnable Kotlin scratch files.
    • An intention to convert end-of-line comments into the block comments and vice versa.
    • New coroutine inspections and intentions.
  • Groovy
    • Groovy 2.5 annotations: @NamedDelegate @NamedParam @NamedVariant.
    • Groovy 3.0 default methods in interfaces.
    • Support for the do…while loop, try with resources, and method references ‘::’ .
  • Scala plugin
    • The Scala plugin can show implicits right in the editor. Even better, it shows you places where implicits are not found.
    • A new Move Refactoringto move members between objects.
    • The Scalafmt formatter has been integrated. Enable it in Preferences / Settings | Editor | Code Style | Scala.
    • Semantic highlighting.
    • Improved auto-completion for pattern matching.
  • Android
    • Merge withAndroid Studio 3.1.2.
  • JavaScript & TypeScript
    • Use the newExtract React component refactoring to break a component into two.
    • New intention to Convert React class components into functional components.
    • Add new features to your Angular app using the integration with ng add.
    • New JavaScript and TypeScript intentions: Implement interface, Create derived class, Implement members of an interface or abstract class, Generate
      cases for ‘switch’
      , and Iterate with ‘for..of’.
    • A new Code Coverage feature helps you find unused code in your client-side apps.
  • Improvements in YAML support
    • YAML code formatter.
    • Smarter YAML with JSON Schemas.
  • Database Tools
    • SQL log.
    • New SQL formatter.
    • Running stored procedures.
    • Source code migrations.
  • Docker integration plugin
    • A new Context folder field in the Docker run configuration.
    • A new Use Soft Wraps action wraps words in docker logs.
    • Navigate from compose nodes and containers to the corresponding compose and dockerfile files.
  • File Watchers plugin
    • Ability to set a global file watcher.

A complete list of all the changes can be found in the really long release notes.

That’s it! We really appreciate all the thoughts, suggestions, and of course, the bug-fixes that you are sharing with us! Please keep them coming as always in the discussion forum, issue tracker, Twitter, and the comments. Thank you!

Download IntelliJ IDEA 2018.2 and enjoy all the new features!

Comments below can no longer be edited.

35 Responses to IntelliJ IDEA 2018.2: MacBook Touch Bar, Java 11, Breakpoint Intentions, Spring Boot, Version Control, and More

  1. Edoardo Luppi says:

    July 25, 2018

    Awesome, finally a stable release. Will the RC get a patch or do I need to upgrade manually?
    Out of curiosity, what are the targets for 2018.3? I mean, IDEA has already everything.

    • Edoardo Luppi says:

      July 25, 2018

      Nevermind, already updated 😉

  2. Roman says:

    July 25, 2018

    First impression: project structure dialog now opens much longer 🙁

    • Zlata Kalyuzhnaya says:

      July 26, 2018

      Hi Roman, thanks for the feedback! We are working on this issue right now and hopefully, the fix will be available soon.

  3. lake says:

    July 25, 2018

    Almost all scala type hints are now gone… how do I downgrade to get them back?

    • Øyvind Mo says:

      July 26, 2018

      Using to install and run IDEA makes it very easy to revert and upgrade as needed.

    • Anton Yalyshev says:

      July 26, 2018

      Do you mean inline type hints? Could you check please, that the setting is enabled (in Preferences/Settings | Editor | General | Appearance)?
      If it is, or you mean another kind of type hints, please create a ticket with example in our bug-tracker – we’ll quickly provide a fix.

      • lake says:

        July 26, 2018

        Yes those hints, I tried switching them on/off in editor>appearance, but the local type hints never appeared in 2018.2 (I think some parameter hints worked but most not). I went back to 2018.1 there it works fine. I’ll try to install 2018.2 again on another machine and file a bug with example.

        • Anton Yalyshev says:

          July 26, 2018

          That will help us to find and fix the problem. Thank you!

  4. Nearbe says:

    July 25, 2018

    Cucumber for java plugin ver. 181.5540.7 & ver. 181.3870.7 no longer supported, latest support ver. is 173.4301 and they does not work =)

  5. Roman says:

    July 26, 2018

    Awesome as usual ^_^

    >MacBook Touch Bar is supported.
    Even more awesome!)

    But can it be customised in any ways? (like some apps have an ability to choose View->Customise Touch Bar)
    And can ‘Open in terminal’ be set up to open last opened terminal, instead of creating new one every time (option-F12 behaviour)?

  6. J says:

    July 26, 2018

    I was expecting this release to support Cucumber 3 with the Cucumber for Java plugin, but the plugin still uses Cucumber 2… not great 🙁

    • Andrey Vokin says:

      July 26, 2018

      Running Cucumber 3 files will be available in 2018.2.1

  7. Denis Gladkiy says:

    July 26, 2018

    Where is the Windows’ jump lists support? ( ). MacBook touchbar supported…

  8. Yohan Siguret says:

    July 26, 2018

    We encountered a weird issue on this version :

    When stopping a “gradle bootRun” Debug of our Spring Boot 2 API, the java process isn’t stopped and we have to kill it manually for stopping the application.
    It works fine with Run though.

    Roll backing to 2018.1 “fixed” it.

    Tested on Mac and Ubuntu with Gradle 4.6 and 4.9, both with local distrib and wrapper, with java 8.

    • Yohan Siguret says:

      July 26, 2018

      For information IDEA there a log appearing in 2018.2 but not in 2018.1, just after stopping the gradle debug: “WARN – .ExternalSystemTaskDebugRunner – Socket closed ”

      Is there any official way to open a ticket if you need more feedback ?

    • Peter Kirby says:

      August 4, 2018

      I’m experiencing this issue as well. It pretty much makes this release unusable for Spring boot development… Hopefully they patch ASAP.

  9. Campus says:

    July 26, 2018

    When will you start to use all the money you get from the subscriptions to actually *fix* all the hundreds of annoying little bugs that are making it annoying to use idea today? Like the build error that doesn’t send me to the code when double clicking or the annoying focus problems when opening a side panel?

  10. JetBrains released IntelliJ IDEA 2018.2, providing support for upcoming JAVA 11  | ProgrammerBay says:

    July 27, 2018

    […] 'onload' }; window.___gcfg = { lang:'en_US',parsetags: 'onload' }; On Wednesday, JetBrains has released a brand news version of its IDE (Integrated development Environment), adding effective features. […]

  11. Dennis B. says:

    July 30, 2018

    Hi there,

    My team is still using bnd at version 3.3.0.

    How can I manage the default bnd-Version in the IntelliJ settings?
    Is there still a way to use 3.3.0?

    Kind regards,

    • Roman Shevchenko says:

      July 31, 2018

      Hi Dennis,

      you may replace content of biz.aQute*4.0.0.jar files with corresponding 3.3.0 ones (it is important to keep the names – otherwise compilation won’t work).

  12. Suhail says:

    August 1, 2018

    After updating to the new version (2018.2), I can’t run my Java Spring Boot application anymore. I am met with the error ‘java.lang.ClassNotFoundException:’. How do I resolve this issue?

    • Konstantin Aleev says:

      August 1, 2018

      Hello, Suhail! Could you please reinstall Intellij IDEA? If it doesn’t solve the problem, please submit the issue to our bugtracker: and as a workaround disable Android Support plugin.

  13. Anton says:

    August 1, 2018

    Custom “Application” Run configuration I created keeps disappearing from the list of available configurations, which is very frustrating, since I have to configure VM options and parameters every time. Is it a known issue?

    • Anton says:

      August 7, 2018

      Run Configuration parameters keep getting reset, or the configuration just disappears. It’s driving me crazy. Is there a fix/workaround for this?

  14. Daniel Balog says:

    August 2, 2018

    Hey guys,

    Just tried out the new release with Touch Bar support and I have to say: It’s one of the better implementations of Touch Bar I’ve seen in any 3rd party app. It’s even better than most 1st party apps.

    I love how you can use the keyboard modifier keys for additional context options. I haven’t seen other apps doing this yet, but they should. It makes the Touch Bar more useful.

    So congrats on getting this supported. I’ve since disabled the “Show function keys” option in my MacOS settings in favor of the new implementation. Great job!

  15. Zam says:

    August 2, 2018

    Hi there,

    Regarding the new feature:
    “You can now jump outside the closing bracket or quote with Tab.”
    it should be fine if it could jump too outside when IntelliJ suggests methods, for example equals().

  16. TAKeanice says:

    August 8, 2018

    Seems like they forgot java 10 over all the 11 exitement… Javafx is still in the JDK 10, but IntelliJ keeps asking me to add the module to the compiler options

Discover more