IntelliJ IDEA 2019.2 Release Candidate is here!

We’ve just published a Release Candidate for IntelliJ IDEA 2019.2, which can mean only one thing – the next major release of IntelliJ IDEA is a stone’s throw away! Are you filled with as much anticipation as we are?

EyDsvmOg

While we’re adding some final touches to the upcoming v2019.2, check out our release notes to learn more about the areas that have been the focus of our recent attention.
Try the IntelliJ IDEA 2019.2 Release Candidate and please do report any bugs you encounter to our issue tracker.

Heads up! This build requires a license for IntelliJ IDEA Ultimate.

P.S. The next major release is just around the corner, so stay tuned!

Happy Developing!

Posted in Release Candidates | Tagged , | 6 Comments

IntelliJ IDEA 2019.2 Beta2 is Out!

This week sees the release of IntelliJ IDEA 2019.2 Beta 2, which means we are getting pretty close to the big day – the release of v2019.2!

We are giving the upcoming releases a final polish, adding more improvements here and there. We’ve improved the Terminal and now it soft-wraps long lines better, so all the links are gently kept in a working state. Previously, the Terminal could occasionally break links when wrapping lines.
Continue reading

Posted in Beta Releases | Tagged | 5 Comments

Refactoring: Inline Method in IntelliJ IDEA

The idea of Inline Method Refactoring is simple – replace a method call with its contents. Still, it is really powerful. But to appreciate its power, you need to know its use cases.

Let’s understand why, when, and how to apply the Inline Method refactoring and how IntelliJ IDEA can help you get started.
Continue reading

Posted in New Features | Tagged , , , , | 4 Comments

Java Annotated Monthly – July 2019

Welcome to summer!  In Europe we had a huge heatwave in June, except, apparently, here in Seville (Spain). Looks like we donated our unwanted heat to the rest of you.  You’re welcome!

This month we’ve got a bit of light reading for the beach.  Or, you know, you could read a novel.  Or try to stop the kids from drowning. Whatever works for you.

JavaAnnotatedMonthly@2x

Continue reading

Posted in News & Events | Tagged | Leave a comment

IntelliJ IDEA 2019.2 Hits Beta

IntelliJ IDEA 2019.2 is going Beta! This means that the major features are already implemented and we’ll now focus on polishing everything for the upcoming release.

The Beta milestone is a perfect time to share your opinions on the upcoming features, if you haven’t yet, as we’ll be able to add some touches for those new features based on your feedback.

Due out in late July, the upcoming IntelliJ IDEA 2019.2 will come with support for Java 13, improve its Inline Method refactoring, detect duplicates better, and enhance the JVM Profiler. It will provide a preview for Structural Search, add more features for working with Maven and Gradle, expand its EditorConfig support, improve the Services tool window, and do much, much more.

We’d like to show you a quick overview of the most exciting new features in this upcoming release for Java developers – take a look!

Try IntelliJ IDEA 2019.2 Beta right now! And don’t forget to share your feedback with us. Drop a comment in the section below, raise a ticket in our issue tracker, or tweet us.

Happy Developing!

Posted in Beta Releases | Tagged , , | 14 Comments

Managing Code Style on a Directory Level with EditorConfig

As we announced a short while ago, in the upcoming version 2019.2, IntelliJ IDEA and other IntelliJ-based IDEs are extending EditorConfig support, thus allowing you to manage all code style settings for each set of files individually. All you need to do is place an .editorconfig file in the root directory containing the files whose code style you want to define. You can have as many .editorconfig files within a project as needed, so you can specify different code styles for different modules. All options from the .editorconfig file are applied to the directory where it resides as well as all of its sub-directories on top of the current project code style defined in Settings/Preferences | Editor | Code Style. If anything is not defined in .editorconfig, it’s taken from the project settings.

In v2019.2, in addition to the standard EditorConfig options, we are adding a bunch of custom IntelliJ IDEA options, so now you can conveniently manage all you code style settings on the directory level.
Continue reading

Posted in New Features | Tagged , | 8 Comments

IntelliJ IDEA 2019.2 EAP6: Gradle Dependencies Diagram and More

The new EAP build for the upcoming IntelliJ IDEA 2019.2 is here, with some highly anticipated features. Let’s dive right in and have a look at the details.

Gradle Dependencies diagram

With IntelliJ IDEA 2019.1, we’ve significantly improved the Maven diagrams, and with this upcoming release v2019.2, we’ve added the long-awaited support for the Gradle Dependencies diagram.

To view Gradle dependencies as a diagram, click on the Show Dependencies icon on the Gradle tool window toolbar or use the shortcut Alt+Shift+Ctrl+U on Linux and Windows / Alt+Shift+Cmd+U on macOS.

Select the nodes from this diagram and look at their neighbours with the “Show Neighbors of Selected Nodes” action from the toolbar. Select the nodes and see how they are connected to the root by clicking ‘Show Paths: Root -> Selection’.

GradleDiagram
Continue reading

Posted in EAP Releases | Tagged , | 11 Comments

IntelliJ IDEA 2019.2 EAP5: Commit from Local Changes and more

IntelliJ IDEA 2019.2 EAP build comes with a new pack of the cool features. Download it and try them out!

Commit from the Local Changes

Why follow tradition? The upcoming IntelliJ IDEA 2019.2 will let you commit directly from the Local Changes, there is no longer any need to go through a separate Commit dialog.

Now while working on a commit, you will be able to browse through the source code, view the history for a specific file, view the diff for the file in the same area as the commit, or use the other features of the IDE. Previously all these actions were impossible because the modal commit dialog blocked all the other IDE functionality.

In the upcoming IntelliJ IDEA 2019.2, we have added a new feature for projects that use Git or Mercurial as their version control system. Now when you press the Commit shortcut (Ctrl-K on Windows, Linux/Cmd-K on macOS) the IDE will select the modified files for the commit and focus on the Commit message field in Local Changes tab of Version Control tool window. You will be able to review the selected files, and change the file or code chunk.

NonModalCommit1
Continue reading

Posted in EAP Releases | Tagged , | 10 Comments

Plugin Deprecations in IntelliJ IDEA v2019.2

Over the years, IntelliJ IDEA has accumulated support for a large array of technologies, and many of the technologies are no longer being actively maintained. We know that there are still people using these technologies, and up until now, we’ve been maintaining the plugins for them as part of the main IntelliJ IDEA source repository. However, our project has been growing, and carrying around this excess baggage is getting more and more difficult both for our users (as the plugins affect the size of the installation and potentially the performance of the IDE) and for our development team. At the same time, we’ve established procedures for maintaining a stable third-party plugin API, so we’re confident that moving the plugins out of the main repository will not affect their stability as the IDE evolves.

Continue reading

Posted in News & Events | 15 Comments

IntelliJ IDEA 2019.2 EAP 4: Profiling Tools, Structural Search Preview, and More

The new EAP build for the upcoming IntelliJ IDEA 2019.2 is here! Download it right now from the website or update to it using the Toolbox App.

Check out the previous EAP blog posts to learn about the other cool new features that the next major update v2019.2 will have for you!

Profiling Tools

We have exciting news to share – you can now analyze the performance of your application right inside your IDE, as the upcoming IntelliJ IDEA 2019.2 will have CPU Profiler integration and Memory Profiler integration on macOS, Linux, and Windows!

IntelliJ IDEA 2019.2 will integrate Java Flight Recorder on Windows, macOS, and Linux. On macOS and Linux, but not Windows, the IDE will also have integration with Async profiler – a low-overhead sampling profiler that shows you the native parts of the execution stack.

This should be very helpful to understand how the CPU and memory resources are allocated in your application. You can run Java Flight Recorder or Async profiler by clicking the icon on the main toolbar or the run icon in the gutter.

Profiler1

Continue reading

Posted in EAP Releases | Tagged , | 12 Comments