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!

About Zlata Kalyuzhnaya

IntelliJ IDEA Marketing Manager at JetBrains.
This entry was posted in Releases and tagged . Bookmark the permalink.

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

  1. Edoardo Luppi says:

    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.

  2. Roman says:

    First impression: project structure dialog now opens much longer :(

    • Zlata Kalyuzhnaya says:

      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:

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

    • Øyvind Mo says:

      Using https://www.jetbrains.com/toolbox/ to install and run IDEA makes it very easy to revert and upgrade as needed.

    • Anton Yalyshev says:

      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 https://youtrack.jetbrains.com/issues/SCL – we’ll quickly provide a fix.

      • lake says:

        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.

  4. Nearbe says:

    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:

    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:

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

  7. Denis Gladkiy says:

    Where is the Windows’ jump lists support? ( https://youtrack.jetbrains.com/issue/IDEA-75238 ). MacBook touchbar supported…

  8. Yohan Siguret says:

    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.

  9. Campus says:

    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. Pingback: JetBrains released IntelliJ IDEA 2018.2, providing support for upcoming JAVA 11  | ProgrammerBay

  11. Dennis B. says:

    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,
    Dennis

  12. Suhail says:

    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: com.android.repository.api.ProgressIndicator’. How do I resolve this issue?

  13. Anton says:

    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:

      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:

    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:

    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().

Leave a Reply

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