Java Annotated Monthly – March 2016

Project Jigsaw. Emerging languages. Android N. Spring 4.3 is in the air and 2016 is already shaping into a productive year for Java developers. Over the last few months, we’ve seen rapid progress on Java 9, and early signs of Java 8 support on Android devices. In this issue of the Java Annotated, we’ll explore future updates to the Java platform, new JVM languages, and open source releases from around the Java community.

IDEAmug5

Continue reading

Posted in News & Events | Tagged | 4 Comments

IntelliJ IDEA 2016.1 RC is Available along with New Versioning

Yesterday in our company blog we announced the plans to move to a single versioning scheme for all our products under the JetBrains Toolbox. As it affects the way we version and release IntelliJ IDEA, we recommend you to thoroughly read about it.

Having said that, we’re happy to let you know that we’ve just released an RC build for IntelliJ IDEA 2016.1, the first update planned for 2016 (previously known as IntelliJ IDEA 16).  To learn more about IntelliJ IDEA 2016.1 and to download the RC build, visit our website.

Help us make the release better by sharing your feedback with us–here in comments and in our tracker.

Develop with Pleasure!

Posted in News & Events, Release Candidates | Tagged , , | 41 Comments

Enjoying Java and Being More Productive with IntelliJ IDEA

Every time I visit a Java conference or a meetup and talk to people unfamiliar with IntelliJ IDEA, I get similar questions again and again: “What’s so special about IntelliJ IDEA? What does IntelliJ IDEA has that other Java IDEs don’t?” In response I usually simply demo a few of its features and then just watch their jaws dropping.

But you know, repeating this over and over is a bit counter-productive, so I’ve written this guide to sum up everything you need to know why IntelliJ IDEA is hailed as the most intelligent and user friendly Java IDE, which can and will make you a more productive developer. Continue reading

Posted in Tips & Tricks | 20 Comments

IntelliJ IDEA 15.0.4 Update is Out

Great news: IntelliJ IDEA 15.0.4 is out. This minor update brings a number of important bugfixes, one of which addresses an old issue with the global menu on Unity (Ubuntu).

Also this update includes the Kotlin 1.0 plugin. Now that Kotlin is officially released and stable, you are very welcome to try it out.

Develop with pleasure!

Posted in News & Events, Releases | Tagged , , , , | 13 Comments

IntelliJ IDEA 16 Public Preview

It’s been wonderful (and busy) 3 months since we announced IntelliJ IDEA 15. Exciting, because we’ve been working on new features, and busy, because we promised more frequent updates. We’re proud of what we managed to accomplish during that time, and without any further ado, we’re happy to present you the first IntelliJ IDEA 16 public preview.

If you want all the details about its new features, or get yourself a copy to try right away, visit our website. Here’s a brief overview of its most notable highlights.


Continue reading

Posted in Beta Releases, New Features, News & Events | Tagged | 26 Comments

Java Annotated Monthly – February 2016

The Java ecosystem is teeming with new technologies. Whether you write mobile apps or middleware, dozens of new libraries and frameworks are released each month. Today’s Java ecosystem is not just growing – but growing up. With the introduction of lambdas and streams, we have seen enormous growth in functional programming and reactive patterns in modern Java. But how on earth is a busy developer to stay ahead of the latest techniques in state-of-the-art Java? As a reader on the Java Annotated, you’re already well on your way. Join us each month, as we explore the latest developments and evolving trends around the Java community.

IDEAmug5

Continue reading

Posted in News & Events | Tagged | 5 Comments

IntelliJ IDEA 15.0.4 EAP 143.2167.2 is Out

A new IntelliJ IDEA 15.0.4 EAP build is out and ready. As always, inside you’ll find bugfixes and other improvements. One of them finally addresses the old issue with the global menu under Unity (Ubuntu).

Also, the built-in plugin for Kotlin has been updated to its latest RC. The list of changes since Beta 4 can be found in the Kotlin blog.

We look forward to your feedback on our discussion forum as well as in the issue tracker.

Develop with pleasure!

Posted in EAP Releases | Tagged , , | 2 Comments

IntelliJ IDEA 16 EAP: Better Spring Boot Support and Kotlin 1.0 RC

A new IntelliJ IDEA 16 EAP build is now available for download. Take a look at the release notes to see which bugfixes are included.

Spring Boot

Those who work with Spring Boot projects should give this build a try because we’ve added a number of improvements in this area, including better coding assistance.

Find usages for configuration properties

Now you can find usages of your custom configuration properties in your application configuration files and additional metadata files. To do that, click the gutter icon (equal to NavigateRelated Symbol) or simply call Show Usages via Alt+Ctrl+F7 (Alt+Cmd+F7 for OS X).

Screen Shot 2016-02-09 at 12.21.57

application.yml values

Code completion and error highlighting for configuration values now works in YAML configuration files as well.

Screen Shot 2016-02-08 at 16.15.29

Various issues with key completion have been fixed.

banner.txt

Everybody loves custom banners. Enjoy smart completion there too now:

Screen Shot 2016-02-08 at 16.04.43

Testing

@SpringApplicationConfiguration  is now correctly detected in test context setups.

Screen Shot 2016-02-08 at 16.40.47

Spring Boot starter imports

A smart quick fix is offered upon detecting certain “known” key annotations/classes:

Screen Shot 2016-02-08 at 16.42.30

Spring Initializr

And finally the last, but not the least:

  • Value provided for Name will automatically applied to Artifact as well as the resulting Project name
  • Non-available starters now show the required Spring Boot version in their tool tip

Screen Shot 2016-02-08 at 16.46.56

Stay tuned to our blog because soon there we’ll be publishing news about new features in Spring and Spring MVC support.

Kotlin 1.0 RC

In other news, Kotlin ships its first public RC build, which is now a part of IntelliJ IDEA 16 EAP. More details, including the list of changes since Beta 4 can be found in the release announcement.

Feedback

Don’t forget to write us back in our EAP discussion forum, as well as report bugs directly to the issue tracker. We really appreciate that.

Develop with pleasure!

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

IntelliJ IDEA 16 EAP Improves Debugger and Adds Git Worktree Support

Great news, everyone! A fresh weekly IntelliJ IDEA 16 EAP is out and ready, packed with bugfixes and new features as usual. The noticeable changes affect the debugger, VCS integrations, and user interface.

Debugger

Now when debugging a Java application, you can use Groovy expressions with Evaluate Expression and Watches. Previously you could do that only when debugging Groovy code. This is good because Groovy expressions are much shorter and more expressive (especially when you work with collections.)

idea-debugger-groovy

This feature requires a Groovy runtime library in the classpath.

Also, we’ve made it easier to debug multiple threads. Until now, stepping over one thread meant IntelliJ IDEA would also resume all the other threads (that stopped at breakpoints for which Suspend policy was set to All). Now you can change this behavior by enabling the Resume only the current thread option in Settings > Build, Execution, Deployment > Debugger > Stepping.

idea-suspend-only

VCS integration

Git users will be happy to know that IntelliJ IDEA now supports worktrees. This feature was introduced in Git 2.5 to make working with clones of a single repository simpler, because instead of making a repository clone you could create a lightweight worktree. The good news is that now IntelliJ IDEA supports those worktrees, so you can work with them just like you do with regular repositories.

The look and feel of Git Log has been updated with a better-looking toolbar and thinner splitters, and the table headers have been removed.

idea-vcs-log

Show/Find usages

Talking about user interface, we have improved the speed-search in the Show usages popup. Now, when you use it, the matches are highlighted for easier navigation.

idea-usages-speed-search

The speed-search in Find usages tool window has also been improved in another way: now it looks through the entire contents of the tool window text.

Last but not least, if you run any code cleanup inspection via Run Inspection by Name, you will now be offered to apply the quick-fix right away in the dialog.

idea-fix-all

That’s it for now. We hope you’ll find these enhancements useful and give us your feedback and bug reports on our discussion forum and in the issue tracker.

Develop with pleasure!

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

IntelliJ IDEA 16 EAP Improves Editor and VCS Integration

Every week we publish a fresh IntelliJ IDEA 16 EAP. Today’s build, among bugfixes that address issues you reported, brings a few improvements to Git integration and IntelliJ IDEA heart, the code editor.

Move elements right and left

We already have a way to move code statements up and down: Ctrl + Shift + Up/Down (Cmd + Shift + Up/Down for OS X.) They come in handy when you’re rearranging code statements. Sometimes, however, it might be useful to move them left or right (when you’re, for example, changing the order of attributes of an XML element, method parameters, or elements in an array initializer).

To make it possible we’ve added two new actions: Alt + Ctrl + Shift + Left/Right (Alt + Cmd + Shift + Left/Right for OS X).

UPDATE: The Action has been renamed to Move Element Left/Right.

VCS integration

Two new actions to help you work with Git branches, available via the Branches popup: Checkout with Rebase and Rename.

The Checkout with Rebase action is useful if you don’t want to waste your time on extra files synchronization and compilation when you do two operations: Checkout and then Rebase.

git-operations

If you do an interactive rebase via the VCS → Git → Rebase main menu, IntelliJ IDEA now automatically stashes and unstashes local changes and assists with resolving conflicts.

The experience of applying patches has also been improved: you can now recover from the patches that could not be applied because of conflicts.

We hope you’ll find all these enhancements useful. Share your impressions and concerns in the EAP discussion forum, and reports bugs our issue tracker.

 

Kotlin

This EAP comes with bundled preview build of Kotlin 1.0 Release Candidate. If you use Kotlin in Maven or Gradle projects you need to setup Kotlin EAP Maven repository in your project, see Kotlin Early Access Preview for details.

Develop with pleasure!

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