IntelliJ IDEA 2016.1: What’s New for Spring Developers
With every update we keep on improving our Spring frameworks support. In IntelliJ IDEA 2016.1 we focused on Spring Boot and plain Java-config configurations experience (of course, in addition to addressing other reported issues). During the EAP we already mentioned better Spring Boot support. In this post, we’d like to provide more details on improvements for Spring MVC, Spring Data and Spring Core.
We’ve added support for @EnableWebMvc annotation:
Now working with annotation-based Spring MVC projects is fully supported as IntelliJ IDEA detects and configures Spring facet automatically:
As you’d expect, there’s smart code completion in the corresponding setup methods:
Editor gutter icons
All Spring-related gutter icons can now be configured via Settings:
Changing active profile
We’ve also added a new action called Change Active Spring Profiles allowing you to change the active profile for a selected module or the entire project in one step.
Non-annotated beans extending CrudRepository now are resolved correctly.
- The aliases defined with @AliasFor for @Bean , @Import and @ContextConfiguration are fully supported now.
- We’ve added support for @EnableBatchProcessing , @EnableLoadTimeWeaving and @EnableSpringDataWebSupport .
- New for Spring 4.3: @Autowired is not required if the bean defines only one constructor.
- The facet configuration now processes context dependencies recursively.
- Also, we’ve fixed a great number of issues related to autowiring.
- Performance has been significantly improved for projects using Spring AOP and Spring MVC.
- Developers having a large number of XML configuration files will notice great decrease in memory usage.
- See the complete list of resolved issues.
The JetBrains Team
The Drive to Develop
Subscribe to Blog updates
Thanks, we've got you!
The What, Why, and How of JPA Buddy in IntelliJ IDEA
Master JPA entity management with JPA Buddy in IntelliJ IDEA! Our latest article shows you how to simplify your workflow and reduce boilerplate code.
The Best of IntelliJ IDEA’s HTTP Client
In today's fast-paced tech world, easy and efficient management of web services and APIs is crucial. That's where IntelliJ IDEA's HTTP Client steps in, turning complex HTTP requests into a walk in the park. The HTTP Client is a feature-rich, text-based tool in IntelliJ IDEA Ultimate. It seamlessl…
Import Postman Collections to the HTTP Client
We know that many of you use Postman collections and want to stay in the flow while working with them. This means staying inside IntelliJ IDEA and not switching to a different app. Great news! You can now effortlessly transform Postman collections into .http and use them in the HTTP Client …
What’s New in IntelliJ IDEA 2023.1 for Spring Developers
The IntelliJ IDEA 2023.1 release came packed with updates for Spring. This blog post will highlight the most noticeable changes, including full support for Lombok, a reworked Spring tool window, navigation for Spring Security rules, Spring Security 6 support, and more. Remember that these featur…