What’s new in IntelliJ IDEA 2019.1 EAP 3?

Posted on by

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.

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.

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.

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

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.

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.

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!