Features

What’s New in IntelliJ IDEA 15 for Spring Developers

If you follow our blog, then you know that yesterday we released IntelliJ IDEA 15. Among other enhancements, it brings you an improved Spring framework support, with the new features of Spring 4.2.

IntelliJ IDEA supports the @EventListener annotation and provides the corresponding coding assistance that includes code completion for the condition attribute and navigation between publishers and listeners:

v15_spring_42_events

IntelliJ IDEA fully supports annotation attribute aliases defined with @AliasFor, and detects @Bean annotations on Java 8 default methods:

v15_spring_default_aliasfor

If you have more than one bean candidate for autowiring, you are warned and offered an option to add a @Qualifier annotation:

v15_spring_beans

Coding assistance in application.yml and additional-spring-configuration-metadata.json has also been improved according to the latest version of Spring Boot:

v15_spring_meta_data

The Spring Initializr in the Project Wizard provides quick search:

v15_spring_boot_initialzr

Also, it automatically imports the corresponding Gradle/Maven projects, adds Spring facets, and creates a Spring Boot run configuration.

Actual projects may consist of many application contexts. To help analyze how they include and reference each other, we’ve added a dedicated diagram. To see it, click the corresponding icon next to an XML configuration or a Configuration class.

v15_spring_diagram

Last but not least, those who work with large Spring projects will notice significant performance improvements across the IDE.

You’re welcome to give a try to these and other new features by downloading IntelliJ IDEA 15 right away.

We’d like to remind you that on November 10th we’ll stream a live webinar: What’s New in IntelliJ IDEA 15 for Spring Developers. Join Yann Cébron (JetBrains) and Stéphane Nicoll (Pivotal) to learn about the new features of Spring 4.2, Spring Boot, and IntelliJ IDEA 15 much more than listed here. As a bonus, they’ll also reveal some nice hidden tips and tricks you might not know yet.

P.S.: If you miss a Spring-related feature in IntelliJ IDEA or would like to have an existing feature improved, please share it with us and we’ll update our roadmap accordingly.

Develop with Pleasure!

image description