Early Access Program Features

IntelliJ IDEA 2018.1 EAP: editor enhancements and more

We’ve just rolled out a new IntelliJ IDEA 2018.1 EAP build. This time it’s all about editor enhancements, improvements in the VCS, and new and updated inspections. To try the latest EAP build right away download it from our our website or update to it via Toolbox App.

With IntelliJ IDEA by collapsing some, of the currently unnecessary blocks or code regions you can get a good overview of your code. Although up until now if a collapsed block contained some errors or warnings, the IDE would display notifications as colored stripes only visible in the scroll bar. These notifications are easy to miss, and they don’t provide any information about where exactly in your code the problem exists.

The upcoming IntelliJ IDEA 2018.1 highlights the folded code regions that contain errors or warnings, and colors such blocks according to their validation status. This give you the ability to quickly find the problem in your code.

image5

Also, when you search through the current file the IDE now highlights the folded code regions if they contain the matching occurrences.

search

Version Control Systems

For the upcoming IntelliJ IDEA 2018.1 we’ve redesigned the Commit combo-button of the Commit Changes dialog to make it more user-friendly. In addition to this, now after you evoke the Commit Changes dialog you can perform the Commit and Push… action using the new shortcut: Alt + Cmd +K (macOS) or Alt + Ctrl + K (Windows and Linux).

image3

Java

In other news, now the IDE detects an explicitly redundant close() call of the resource at the end of a try-with-resources block.

image2

We’ve updated the compute constant value intention, and we have now made it into an inspection, so now it can be applied to the entire file. This inspection is called: Constant expression can be evaluated. The IDE now lets you preview the result of the replacement in a quick-fix name. By the way, the Constant expression can be evaluated inspection now determines the value of the String concatenation.

image1

Last but not least, the mismatched query and update of collection inspection have been updated, with fixes for several minor issues. But if you still encounter any issues, please report them.

A complete list of the changes has been posted here.

Download and try these new features for yourself! Don’t forget to get back to us with your improvement suggestions, and bug reports, they can all be submitted to our issue tracker.

Happy Developing!

image description

Discover more