IntelliJ IDEA 2017.2 Public Preview

The last couple of months have been a lot of fun as we’ve been working on IntelliJ IDEA 2017.2 which is due out this summer. We appreciate the contributions from all EAP participants and the feedback they’ve shared on the new features. We reached a feature-freeze two weeks ago, and today, with roughly a month before the release, we’re happy to give you a detailed glimpse of what’s noteworthy in the upcoming IntelliJ IDEA 2017.2.

If you can’t wait, download the public preview build right away and try it on your own. Otherwise read on and learn about the major changes. Continue reading

Posted in EAP Releases, New Features | Tagged , | 5 Comments

IntelliJ IDEA 2017.2 EAP Introduces Unloaded Modules

Another week of work for us—something new for you to try: have a look at the fresh IntelliJ IDEA 2017.2 EAP build. In addition to bugfixes, it introduces a new, experimental feature called Unloaded Modules.

This feature is supposed to help you to deal with large codebases by giving you the ability to select what modules you are going to work on in your project. Modules that you are not working with at the moment are marked as Unloaded and IntelliJ IDEA will not index or otherwise touch any files in these modules, which can help to conserve CPU and memory resources.

To access the feature, invoke the Project tree context menu and select Load/Unload Modules:

And now you just select the modules you’d like to work with at the moment.:

If a module you marked as loaded depends on other modules, IntelliJ IDEA will prompt you to load them as well:

When you’re about to refactor something, or are looking for usages of a symbol, you will be warned about the fact that there are unloaded modules that depend on the modules with which you are working, and therefore might contain code that should have been affected by the action, but won’t be:

It’s important to understand that when you exclude a module, consistency of changes in code that belongs to it will not be guaranteed, so be cautious when using this feature.

Even though this feature is openly available, it’s still under development, so please share your feedback, including bug reports in our issue tracker.

Develop with Pleasure!

Posted in EAP Releases, New Features | Tagged , | 16 Comments

IntellIJ IDEA 2017.2 EAP: Filtering Arrays and Collections in Debugger, Module Dependency Diagram for Java 9, and More

Last month we introduced Java Stream Debugger, a plugin that adds visualizatoion of Java Stream operations to IntelliJ IDEA debugger. Today, we’re taking debugger improvements one step further with this feature: filtering arrays and collections.

It will be a part of IntelliJ IDEA 2017.2 and is already available in the just-out EAP build along with many other improvements and fixes.

This latest EAP build also brings you module diagrams for Java 9, that are available for selected modules or projects via Diagrams | Show Diagram (Ctrl+Alt+Shift+U or Cmd+Alt+Shift+U for macOS), Java Modules Diagram:

Diagram displays selected module dependencies. To quickly locate a module, press Ctrl+F (Cmd+F for macOS):

To see selected module usages, use the good old Show Usages via Alt+Ctrl+F7 (Alt+Ctrl+F7 for macOS):

JRE modules dependencies are displayed, too:

Last but not least, Smart Completion got even smarter and now suggests constructing an instance of the expected type with a builder class available in the project:

We hope you’ll find these small improvements useful. As always, we appreciate your feedback, so don’t forget our issue tracker.

Develop with Pleasure!

Posted in EAP Releases, New Features | Tagged , , | 3 Comments

End of out-of-the-box support for Visual SourceSafe and ClearCase

There are a lot of different Version Control Systems out there. Over the years, some of them have become more popular than others.

While the IntelliJ platform provides Integration with various VCSs out of the box, the usage for some of these have steadily declined, to the point that a few of them have very little support demand whatsoever. As such, we’ve decided to reduce the number of VCSs supported out-of-the-box and focus on improving the most popular ones.

What does this mean?

Visual SourceSafe has reached its end-of-life, and ClearCase is approaching it next year. Given this, along with the low demand and popularity for these integrations, we no longer plan to continue development on these plugins, and will be closing their support as of 2017.3 release.

A separate announcement will follow when it happens.

Note that plugins will stay available in the repository, and we will maintain compatibility with successive versions of the IntelliJ platform, making sure no critical regressions are introduced.

Posted in Beta Releases | 3 Comments

IntelliJ IDEA 2017.2 EAP: Better Code Completion and VCS Support

We’ve just published a new IntelliJ IDEA 2017.2 EAP build, in which you’ll find some quite interesting new features.
Continue reading

Posted in EAP Releases, New Features | Tagged , , , | 3 Comments

Java Annotated Monthly – June 2017

What an exciting month May was! The Java Community Process was flung into the spotlight as the Executive Committee voted against Jigsaw, raising questions like: how does this impact Java 9? What happens next? And what is the JCP anyway? Add to this the announcement of some exciting Android-related news, and we have a very full Java Annotated Monthly!


Continue reading

Posted in News & Events | Tagged | 2 Comments

Git Questions: How do I see who made certain changes?

In this week’s Git video, Gary and I look at how you can Annotate your code to see who made which changes.  We also show how you can use this information to understand a bit more about the context of a particular change.

Posted in Tips & Tricks | Tagged , , | Leave a comment

IntelliJ IDEA 2017.2 EAP, with Smarter Control Flow Analysis

Earlier we mentioned that IntelliJ IDEA 2017.2 EAP features improved control flow analysis that infers the contracts of certain methods of String, Array, Collection and Map classes.

With today’s EAP build, this analysis becomes even smarter. If that sounds like something you might be interested in, read on and see how the new checks are going to work.

Continue reading

Posted in EAP Releases, New Features | Tagged , , , , | 2 Comments

IntelliJ IDEA 2017.2 EAP: Run Dashboard for Spring Boot

Last week we’ve published a new IntelliJ IDEA 2017.2 EAP build, which, among various bugfixes and improvements, brings a new experimental feature, we think you may find very interesting. Because it’s still work in progress, you need to explicitly enable it via VM property, or through the Registry.

After that, you will find that the traditional Run tool window for Spring Boot applications was replaced with the new Run Dashboard (in the future we plan that replacement for other app types, too.)

This new dashboard lets you explore and manage multiple Run configurations at once, with the list of Run configurations and their status on the left, and details and application-specific information on the right. Also, you get the tool bar that is handy to issue commands like run, stop, or restart.

For example, Spring Boot applications display the recently introduced Endpoints tab:

Screen Shot 2017-05-15 at 12.36.65

If you prefer so, the new tool window can look exactly like the Run tool window. Just click the Show Configurations button on the left toolbar, and then use the tabs on top to switch between running applications:

Screen Shot 2017-05-15 at 12.36.66

We’re very excited about this new feature and believe that it can be applied not only to Spring Boot, but to many other types of applications (and maybe not only applications). This is why we’d like to ask you for your feedback. Please give this new feature a try and share with us both your impressions and improvement suggestions. We hope your feedback will help us better understand the possible usage scenarios and put them in IntelliJ IDEA 2017.2.

Posted in EAP Releases, New Features | Tagged , , , | 16 Comments

Java Annotated Monthly – May 2017

After a few, blissful, drama-free issues, this month we look into the tension between the community and the Stewards of Java (again), this time the topic is Modularity.  Feedback from the community is always a Good Thing to help improve the platform, but when Jigsaw was due for release with Java 9 in two months it gets a little more… interesting. Java 9 isn’t the only news, as usual we’re covering Java’s future, linking to blogs and tutorials for Java (including Android) code and design, and we’ve added a whole new section for Java Performance this month.


Continue reading

Posted in News & Events | Tagged , , | 2 Comments