Early Access Program

IntelliJ IDEA 2019.2 EAP2: Shell Script Support, Improved Code Duplicates Detection, Services Tool Window, and More

Please welcome a new EAP build for the upcoming IntelliJ IDEA 2019.2 which we have loaded with new features!

Shell Script support

The upcoming IntelliJ IDEA 2019.2, will provide rich editing support for shell scripts, including word and path completion, Quick documentation preview, and even the textual rename.

ShellScriptCompletion

The upcoming IntelliJ IDEA 2019.2, will include integration with several external tools to enhance the shell script support even further.
For detecting possible errors in your script, the IDE will prompt you to install the inspection tool named Shellcheck, which can detect a ton of issues and provide quick-fixes for them.

ShellScript1

Also, the upcoming IntelliJ IDEA 2019.2 will have integration with the Shfmt external formatter engine. When you invoke the Reformat Code action for the first time, the IDE will suggest you install this tool, and then after that the IDE will properly format your shell script.

The upcoming version of IntelliJ IDEA will have integration with the website Explainshell. This means that you will be able to select a command in the editor and press Alt-Enter on it and the IDE will take you to Explainshell where you’ll find a detailed explanation of the selected command.

ShellScript2

Improved detection of code duplicates

IntelliJ IDEA offers powerful tools to spot code duplicates. It can detect duplicates on the fly for Java with the “Duplicated code fragment” inspection. For all other languages, including Java, there is the Locate duplicates tool, which is highly configurable but doesn’t work on the fly.

With the upcoming 2019.2 release, we’re merging these tools so that you get the combined advantage of both in a single updated inspection – the “Duplicated code fragment”. It is configurable, works on the fly, and supports lots of languages including Java, Kotlin, Groovy, JavaScript, ActionScript, TypeScript, PHP, Python, HTML, XHTML, XML, CSS, and Ruby.

Of course, the IDE will provide an option to quickly navigate to duplicates, and it gives you options for a quick-fix when needed.

image9

image3

Please note that this feature is only supported in IntelliJ IDEA Ultimate.

Services tool window

The upcoming IntelliJ IDEA 2019.2, will introduce a brand new Services tool window which will provide a single place to view all connections and run configurations that are configured to be reported to the Services View. The Services tool window incorporates several tool windows such as RunDashboard, Database Console, Docker, and Application Servers.

ServicesView

Of course, we have kept all the actions that were specific to the incorporated tool windows accessible through their own nodes.

You can view all the service types as nodes, or you can alter the view to see them as tabs. Use the “Show in New tab” action from the toolbar or simply drag and drop the needed node on to the edge of the Services tool window.

You’ll be able to create a custom tab where you may group various services – simply select the services needed and invoke the Group Services action from the context menu or from the toolbar.

ServicesTabs

Version Control and Diff

Improved “Collapse Unchanged Fragments” mode of Diff

When you use Diff in the “Collapse Unchanged Fragments” mode, the IDE will now show a method in which the current code chunk is modified making it easier for you to understand the context. Previously, the Diff would collapse a method signature if it wasn’t changed, so you would only see the changed lines, but you would have no idea in which method they were changed.

Screen Shot 2019-05-31 at 13.11.32

Ability to view the Git file history for multiple directories selected from the Project View

In the upcoming IntelliJ IDEA 2019.2, it will be possible to select several folders in Project View and see all changes in any of these folders. Select the folders you want to check the changes in and choose the Git | Show History from the context menu.

JetBrains Runtime

JBR 11 (default) was updated to v11.0.3+12-b262.3:

  • The issue with the context menu in the diagram popup was fixed: JBR-1255
  • Find Action shortcut now works on macOS JBR-1135
  • Select All action doesn’t break under certain conditions JBR-1433
  • The IDE doesn’t freeze after returning from sleep or connecting/disconnecting external displays (macOS): JBR-1393
  • Fixed various problems with emojis JBR-1435.

JBR 8 was updated to v1.8.0_202-release-1566-b8

  • JavaFX was upgraded for MacOS and Linux up to 8u212 . On Windows, it is still 8u202 due to the issue: JBR-1531.

Download the new IntelliJ IDEA 2019.2 EAP build and give these new features a try! Don’t hesitate to submit feature requests to our issue tracker. Any feedback you can provide here in the comments is also appreciated.

Happy Developing!

image description