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 statements 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).

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 , , , | 13 Comments

IntelliJ IDEA 16 EAP Makes it Easier to Add Static Imports

Meet the fresh IntelliJ IDEA 16 EAP build, addressing a number of issues, and bringing several improvements.

A minor, yet helpful improvement in the new build is better handling of static imports. Previously IntelliJ IDEA provided a quick-fix to import static methods. Now it suggests to add static imports in the very same way as it does with regular ones:

Static constants are suggested, too:

If the Add unambiguous imports on the fly option is enabled in Settings → Editor → General → Auto Import, IntelliJ IDEA will import unambiguous static members on the fly.

Screen Shot 2016-01-20 at 16.11.41

As always, we appreciate your feedback about the new build in our discussion forum as well as your bug reports in the issue tracker.

Develop with Pleasure!

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

IntelliJ IDEA 15.0.3 Update is Available

Great news! After just a few weeks in EAP, IntelliJ IDEA 15.0.3 is officially out. Big thanks to all the contributors, supporters, and, of course, bug reporters.

If you are running IntelliJ IDEA 15.0.2, click Check for Updates and you will get a popup that offers automatic update. Or, you can just do it the good old way by downloading the update from our website, and then installing it manually.

Among the improvements, the 15.0.3 update adds a small new feature (back-ported from IntelliJ IDEA 16 EAP.): the ignore generated code option in the code duplicates inspection.

Screen Shot 2015-12-29 at 19.38.27

For Kotlin fans we included Beta 4 of Kotlin plugin that (in addition to minor changes to the language and libraries) brings better incremental compilation performance and new coding assistance features. Find more details about it in this and that announcements from official Kotlin blog.

Develop with Pleasure!

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

IntelliJ IDEA 15.0.3 RC is Out

Along with the IntelliJ IDEA 16 EAP, we keep working on a new bugfix update for IntelliJ IDEA 15, and today we’re publishing the IntelliJ IDEA 15.0.3 RC.

Here’s a list of what’s been fixed, and the new build also updates the Kotlin plugin to Beta 4. This brings better incremental compilation performance along with minor changes to the language, libraries, and improved coding assistance. More details can be found in this post from official Kotlin blog.

As always, all bug reports are welcome in the issue tracker.

Develop with Pleasure!

Posted in EAP Releases, Release Candidates | Tagged , | 1 Comment

IntelliJ IDEA 16 EAP 144.2925 is Out

Good news, everyone! A fresh IntelliJ IDEA 16 EAP build is out and ready. As always, it comes with various bugfixes, but that’s not all: there’s a couple of new features as well.

Built-in inspections that detect issues with use of concurrency annotations now support javax.annotation.concurrent.*:

javax_annotation_concurrency

Previously such problems were reported only for net.jcip.annotations.*.

Kotlin plugin has been updated to Beta 4. This brings better incremental compilation performance along with minor changes to the language, libraries, and improved coding assistance. More details can be found in this post from official Kotlin blog.

We appreciate your feedback on changes in our discussion forum. In case you see a bug, report it right away to the issue tracker.

Develop with Pleasure!

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

Java Annotated Monthly – January 2016

As we turn the calendar on the Java Annotated, we predict the year ahead will bring enormous growth for Java. With lambdas and streams now firmly planted in the Java ecosystem, developers are starting to reap the benefits of functional programming and cultivating new breeds of reactive services and applications. As the largest, healthiest programming language in the world, Java is poised to make real headway in 2016 and already promises exciting innovation in runtimes, frameworks, tools and languages. Stay tuned on the Java Annotated and you’ll stay ahead of the latest developments and emerging trends every month, brought to you by JetBrains.

IDEAmug5

Continue reading

Posted in News & Events | Tagged | 2 Comments