What’s new in IntelliJ IDEA 2019.1 EAP 3?

A new IntelliJ IDEA 2019.1 EAP build is here! Let’s take a look at what this new build has to offer.

Editor

Sublime Text keymap

Switching over from another IDE is not easy, especially if you’ve been using it for a while and got used to all its little quirks. One of the things you’ll most likely miss is your favorite set of key combinations. It’s a big reason why we are continuing to add new pre-configured keymaps to IntelliJ IDEA; now it’s Sublime Text’s turn to have its keymap available in IntelliJ IDEA. You can start using Sublime Text’s shortcuts as soon as you select the Sublime Text keymap; go to Preferences /Settings | Keymap and from the Keymap drop-down list, choose Sublime Text.

SublimeTextKeymap

Ability to enable soft-wraps depending on file type

In IntelliJ IDEA you can use the soft-wraps to handle the appearance of long lines of code. With this upcoming release, we’ve made it possible to limit the soft-wraps to specific file types.

EditorSoftWrap

Option to export your Code Style settings to JSON

You can now export all your code styles settings to JSON from IntelliJ IDEA. Previously it was only possible to export them to an XML file.

Go to Preferences /Settings | Editor | Code Style than in the right-hand part of the dialog click on the gear icon and select the Export | IntelliJ IDEA code style JSON option from the drop-down menu.

When you export to JSON, all the code style settings (for the available languages) are exported; even if they match the default ones, which export to XML doesn’t do. The settings are grouped by languages and can be used, for example, for conversion to external tools. In some cases, the сode style settings’ names are made more readable.
We also plan to extend this functionality with future releases and make it possible to import your own code style settings if they are in JSON format.

EditorExportCodeStyle

JVM Debugger

New “Run to mouse pointer” mouse gesture

Now while in the Debug mode you can click on the line number and the IDE will perform the run to cursor (mouse pointer) action.
So now, when you hover over a line the IDE will highlight this line, and if you click on a line number the IDE will invoke the run to cursor action by mouse (if you prefer to use the mouse rather than the keyboard).

DebuggerRunToPointer

Version Control Systems

New “Uncheck all” checkbox for partial Git commits

IntelliJ IDEA supports partial Git commits; you can add code chunks into a commit using the checkboxes in the Diff pane of the Commit Changes dialog. We have now made it a little easier to use. When you have a lot of changes in a file, but you only want to commit a few of them, you can now use the new “Uncheck all” checkbox to uncheck all the code chunks at once, and after then recheck only the ones you want to commit. Also, please note that you can always uncheck a file in a tree, and it will exclude all the changes in it from the commit. And you can select the whole file in the editor and choose “Exclude Lines from the commit” action from the context menu.

VCSUncheckAll

Adding file content to the Blank DIff Window by drag-n-drop

Copy-paste text to a Blank Diff window with a drag-n-drop of a file, or alternatively, you can do it through the file navigation.

DiffDragDrop

IntelliJ IDEA with JetBrains Runtime 11

We are planning to eventually migrate IntelliJ IDEA and the IntelliJ-platform to JetBrains Runtime 11. Currently, we will keep publishing IntelliJ IDEA with both JetBrains Runtime 8 and JetBrains Runtime 11.

Starting now, you have early access to IntelliJ IDEA with the new JetBrains Runtime 11. We would really appreciate it if you could try to use the IDE with the JetBrains Runtime 11 and give us your assessment of it.

We’ve also updated JBR 8 to v1.8.0_202-release-1483-b4, and the following notable fixes were integrated:

  • JetBrains Runtime 8 was rebased on top of OpenJDK 8u202 JRE-1155.
  • The crashes in JBR caused by the sun.awt.SunToolkit.realSync() invocation was fixed JRE-1099.
  • The issue which made modal dialogs like the Commit dialog invisible was fixed JRE-1163.

Get the latest EAP build and see how this works for you. Any feedback is highly appreciated here in the comments, in our issue tracker, or on Twitter.

Happy development!

About Zlata Kalyuzhnaya

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

35 Responses to What’s new in IntelliJ IDEA 2019.1 EAP 3?

  1. Noah Andrews says:

    Is there a way to try the Jetbrains Runtime 11 version of IntelliJ from the Toolbox app?

  2. Oleg Kalugin says:

    Is there a way to install JBR 11 version from the toolbox app?

  3. Mike says:

    The name «JetBrains Runtime 11» makes an impression that it’s based on JDK 11, while in fact it’s written that it was rebased on top of JBR 8u202. So, could you, please, clarify does JBR 11 based on JDK 11 or JDK 8?

    Thanks.

    • Eugene says:

      Look at the line above, it says that these release notes refer to the updated JBR 8, not to the JBR 11. So I hope JBR 11 is based on JDK 11, as the name implies

      • Zlata Kalyuzhnaya says:

        JetBrains Runtime 8 was rebased on top of OpenJDK 8u202
        JetBrains Runtime 11 was rebased on top of OpenJDK 11

  4. Uberto Barbini says:

    Any update on scratch files and/or Kotlin Repl?

  5. Hikari says:

    Is it possible to install EAP w/JBR11 using the Toolbox?

  6. Charlie Hayes says:

    The JBR11 version doesn’t seem to start on mac. No error in the console or anything.

  7. András Hatvani says:

    As others mentioned the JBR 11 is missing in version available via the Toolbox.

  8. András Hatvani says:

    The Mac version with JBR 11 just doesn’t start.

  9. adev says:

    How do i install the intellij with sdk 11 ? i don’t understand, nothing show up on toolbox (windows 10)

  10. Daniel Slapman says:

    Command + Mouse click now acts like “find usages” instead of “Goto”, that’s weird

    • Daniil Ovchinnikov says:

      It is expected for Java enums (as of this EAP).
      Could you please share your use case?

      • Daniel Slapman says:

        My use case is navigating Scala code, Cmd + Mouse click works as “find usages” all the time

        • daniil.ovchinnikov says:

          We were able to reproduce the issue with constructor references only. Do you have any more examples?

          • Daniel Slapman says:

            I tried some small projects, but couldn’t reproduce this problem on any public codebase 😐 At my work project “find usages” occurs on some val’s use sites

  11. Jakub Wach says:

    I’m playing with plugin development. I was happy that IntelliJ will use JBR11 as an runtime. Now I see that two separate Java runtimes could be used….

    Do you have plan to extend plugin.xml in a way so that plugin developer can specify Java 11 as a requirement? (maybe as an entry with artificial id). It seams that idea-version will not solve that dependency/requirement issue.

    • Yann Cébron says:

      Future releases will eventually switch the IDE to require Java 11 as runtime. So the question whether Java 8/11 is available will depend on specific IDE release, which will continue to be specified by <idea-version>.

  12. David Nedrow says:

    Please, please, provide a formal schema for the JSON settings import/export.

    Too many companies roll out JSON structures with no schema. This makes it impossible for JSON editors to provide auto–completion suggestions.

  13. Nemanja says:

    Hi,

    What GCs are available in your version of JDK 11?
    I’ve tried both ZGC and ShenandoahGC and neither is supported.

    Thanks.

  14. Florian says:

    Is the JBR updated automatically when I update IntelliJ IDEA from the inside?

Leave a Reply

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