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:
IntelliJ IDEA fully supports annotation attribute aliases defined with @AliasFor, and detects @Bean annotations on Java 8 default methods:
If you have more than one bean candidate for autowiring, you are warned and offered an option to add a @Qualifier annotation:
Coding assistance in application.yml and additional-spring-configuration-metadata.json has also been improved according to the latest version of Spring Boot:
The Spring Initializr in the Project Wizard provides quick search:
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.
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!