-
Notifications
You must be signed in to change notification settings - Fork 15
Explyt AI Actions
AI-augmented Spring actions that automate routine work inside the IDE — generating entities from a schema, DTOs from entities, OpenAPI from controllers, .http files from curl, and more. The AI proposes the result in the assistant chat (and may ask clarifying questions), so you stay in control.
Requirements. Both plugins must be installed: Explyt Spring + the Explyt AI assistant plugin — get it from explyt.ai or the JetBrains Marketplace (plugin 27979). AI integration requires IntelliJ Platform 2025.1+. Works with OpenAI-compatible providers or local models — result quality depends on the model.
Looking for the Spring-aware tools that expose project context to external AI agents (via the JetBrains MCP Server)? Those are different — see MCP Tools.
- Right-click menu — in the editor or the Project view, right-click a file → Explyt Spring AI Actions → pick a conversion. Several files can be selected for the DTO ↔ Entity conversions.
- Gutter AI icon — an AI-assistant icon appears in the gutter next to annotated class declarations, offering the actions relevant to that class (see the trigger column below).
| Action (menu label) | What it does | Where |
|---|---|---|
| Convert Liquibase/Flyway File to Entity | Generate JPA @Entity classes from a Liquibase/Flyway/SQL schema file. |
Right-click a migration/SQL file |
| Convert Entity to Db Script | Reverse direction — generate a DB migration script from an entity. Detects the app's database and migration tool (Liquibase/Flyway) and adds that to the prompt. | Right-click an entity · gutter on @Entity
|
| Convert Entity to DTO | Generate DTO classes from JPA entities; the AI understands context and can exclude fields or add validation annotations. | Right-click an entity · gutter on @Entity
|
| Convert DTO to Entity | Reverse direction — generate JPA entities from DTO classes. | Right-click a DTO |
Need
equals/hashCodefor an entity? That generator is not AI — it ships in the Spring plugin under Code → Generate (proxy-safe Hibernate approach). See Code Generations.
| Action (menu label) | What it does | Where |
|---|---|---|
| Convert Spring Controller to OpenAPI File | Analyze a controller's endpoints, parameters, and DTO models and generate an OpenAPI specification. | Right-click a controller · gutter on @Controller/@RestController
|
| Convert OpenAPI File to Spring Controller | Reverse direction — scaffold Spring REST controllers from an OpenAPI spec (handy for integrating with third-party services). | Right-click an OpenAPI file |
| Action (menu label) | What it does | Where |
|---|---|---|
| Convert Curl to Http | Convert a curl command into an RFC 7230 .http/.rest request and append it to an IntelliJ HTTP file. |
Right-click |
| Convert Postman Collection to Http | Convert a Postman collection into RFC 7230 .http/.rest requests. |
Right-click |
Run the resulting files with the built-in runner — see .http / .rest files (RFC 7230).
| Action (menu label) | What it does | Where |
|---|---|---|
| Convert Properties to YAML | Convert a Spring .properties file to YAML (comments preserved). |
Right-click a .properties file |
| Convert YAML to Properties | Reverse direction — YAML → .properties. |
Right-click a .yml/.yaml file |
Handy after Spring Initializr, which generates
application.properties— convert it to YAML in one step.
The AI-assistant gutter icon on your @SpringBootApplication class offers:
| Action | What it does |
|---|---|
| Generate Kafka Config | Generate a Spring Kafka configuration, adding the spring-kafka dependency if needed. |
| Generate Security Config | Generate a Spring Security configuration (adds spring-security if needed). The assistant first asks which authentication you want — Basic, DAO, JWT, OAuth2, or LDAP — then generates accordingly. |
These are a guaranteed-to-compile starting point (boilerplate); the assistant can refine them further in chat.
The gutter AI icon shows different actions depending on the class annotation:
| Annotation on the class | Gutter actions |
|---|---|
@SpringBootApplication |
Generate Kafka Config · Generate Security Config |
@Controller / @RestController
|
Convert Spring Controller to OpenAPI File |
@Entity (JPA) |
Convert Entity to DTO · Convert Entity to Db Script |
spring-ai-action.mp4
- Neural Networks in Spring Development: Eliminating Routine, Not Intelligence (RU)
- Explyt AI Platform and integrated agents (RU)
See also: MCP Tools · Features · Code Generations
Home · Features · Installation · Usage · Marketplace · Issues · Telegram (EN)
Explyt Spring Plugin — free for commercial and non-commercial use under the Apache License 2.0.
Getting started
Features
- All features
- Native Context Mode
- Spring Debugger
- HTTP Client
- Spring Web & OpenAPI REST client
.http/.restfiles (RFC 7230)- Code Generations
- MCP Tools
- Explyt AI Actions
Gallery
Links