Early Access Program IntelliJ IDEA

IntelliJ IDEA 2023.1 EAP 5: Navigation for Spring Security Matchers, Editing Improvements for OpenAPI Specifications, and More

IntelliJ IDEA 2023.1 EAP 5 is now available!

In this build, you can find and test a range of new features. These enhancements better facilitate working with Spring projects, OpenAPI specifications, GRPC requests, and more.

You can get the latest build from our website, through the free Toolbox App, or as a snap if you use Ubuntu. 

Read this post to learn about the latest updates. Please try out the new features, and help us better your IDE experience by sharing your feedback with us.

Frameworks and technologies

The following features and updates introduced to support working with frameworks and technologies will be available in IntelliJ IDEA Ultimate only.

Navigation for Spring Security matchers and request mappings

To see applied security rules, IntelliJ IDEA Ultimate 2023.1 provides easy navigation to security matchers from Spring controllers. The navigation works both from security matchers to controllers and vice versa.

Spring Security 6 support

The IDE now provides updated support for navigation to URL mappings and security roles for APIs introduced in Spring Security 6.

Spring run configuration delegates building and running to Gradle

In the Spring run configuration, Gradle is now the default option to run and build projects. 

The IDE now uses the main setting to build and run the project using Gradle as defined in Settings/Preferences | Build, Execution, Deployment | Build Tools | Gradle.

Option to share Spring and JPA facet settings via VCS

You can now change and share Spring and JPA settings via custom facets in File | Project Structure | Modules. 

For instance, to share a selected data source for JPA within your team, you can now create a JPA facet and commit its settings to the version control system by adding a module file with the *.iml extension.

Running MongoDB queries in the Database console from Spring and Micronaut Data repositories

It is now possible to run MongoDB queries in the Database console from Spring and Micronaut Data repositories. 

To do this, use the new intention action Run query in console in the query string. The IDE will generate proper JavaScript calls, including additional request parameters, such as sort.

Project Reactor: improved inspections for reactive code

For the new IDE version, we have improved inspections for reactive code. As an example, IntelliJ IDEA now reports usages of transformation operators with the Mono<Void> type described in the Project Reactor Guide.

Apache Dubbo support 

We’ve implemented a new dedicated plugin that integrates Apache Dubbo, providing the framework’s functionality as part of IntelliJ IDEA’s support for Spring. 

You can download this plugin from JetBrains Marketplace or install it right in the IDE via Settings / Preferences | Plugins.

OpenAPI generated for Spring and JAX-RS resources takes into account Swagger annotations

If you define additional metadata for APIs using Swagger 2.X annotations in Spring controllers, the IDE now includes these annotations when generating OpenAPI files from the URL inlay popup dialog or from the Endpoints tool window.

Option to edit parts of OpenAPI specifications in separate files

It is now possible to edit parts of bigger OpenAPI specifications in separate files while easily navigating between them. In addition, the IDE provides code completion and highlighting for these files in the same way as for the main specification file.

Option to run GRPC requests from the Endpoints tool window

With IntelliJ IDEA Ultimate 2023.1, it is possible to run GRPC requests from proto files that contain imports from .jar archives. We’ve also improved code completion for request bodies, like for OneOf and Map<K,V> types. 

Furthermore, we’ve added the HTTP Client tab for Protobuf endpoints in the Endpoints tool window. 

Improved editing support for application.yaml configuration files in Ktor

The IDE now provides all of the editing features necessary to work with application.yaml configuration files in Ktor, including code completion, highlighting, and validation.

Other

  • The Android plugin bundled with IntelliJ IDEA now provides all the features of Android Studio Electric Eel, including support for the Android Gradle Plugin (AGP) 7.4.0.

These are the most notable updates for this week. For the full list of introduced changes, see the release notes

We encourage you to try out the new features and share your feedback. Let us know what you think in the comments section below or on Twitter. If you spot any bugs, report them to our issue tracker

Happy developing!

image description