diff --git a/GEMINI.md b/GEMINI.md index 19af356..0552e86 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -2,19 +2,20 @@ ## Project Overview -The `DynamicFormTools` is an IntelliJ Platform Plugin designed to automate the generation of Java `ActionBean` and Data Transfer Object (DTO) classes from a database schema. This plugin integrates directly into the IntelliJ IDE, allowing developers to select a database table and generate corresponding Java classes based on predefined FreeMarker templates. +The `DynamicFormTools` is a comprehensive IntelliJ Platform Plugin designed to streamline the development of Java-based web applications that utilize the DynForm framework. It provides a suite of tools for automated code generation, internationalization (i18n) management, and enhanced support for framework-specific file types. **Key Features:** -* **Database Schema Introspection:** Utilizes IntelliJ's database tools to read table and column metadata. -* **Code Generation:** Generates `ActionBean` and DTO classes using FreeMarker templates. -* **Template-driven:** Customizable code generation via FreeMarker templates (`actionBean.ftl`, `actionBean.extend.ftl`, `actionDTO.ftl`, `actionDTO.extend.ftl`). -* **IDE Integration:** Provides a context menu action ("Generate Action Models") in the Database View for easy access. +* **Action Models Generator:** Automates the generation of `ActionBean`, `DTO`, and `Dataset XML` classes from a database schema using FreeMarker templates. +* **I18n Management:** Simplifies internationalization workflows with inlay hints, code folding, and smart completion for `message.xml` keys across Java, XML, and JavaScript. +* **DynForm Support:** Provides specialized support for `.frml` files, including file type recognition and intelligent auto-completion. +* **Database Schema Introspection:** Utilizes IntelliJ's database tools to read table and column metadata for code generation. +* **Template-driven:** Customizable code generation via FreeMarker templates. **Core Technologies:** * **Java:** Primary development language. -* **Kotlin:** Configured in `build.gradle.kts`, indicating potential for Kotlin usage. +* **Kotlin:** Used for Gradle configuration and potentially for plugin logic. * **Gradle (Kotlin DSL):** Build automation system. -* **IntelliJ Platform SDK:** For IDE integration and database interaction. +* **IntelliJ Platform SDK:** For IDE integration, UI actions, and language support. * **FreeMarker:** Templating engine for code generation. ## Building and Running diff --git a/build.gradle.kts b/build.gradle.kts index 3a6e6af..1abcc2c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -5,7 +5,7 @@ plugins { } group = "com.sdk.dynform.tools" -version = "2.1.2" +version = "3.0.1" repositories { mavenCentral() @@ -39,6 +39,19 @@ intellijPlatform { } changeNotes = """ +
message.xml..frml files, including file type recognition and specialized completion helpers.com.sdk.dynform.tools for better modularity.This plugin streamlines development in Java-based web applications (such as vrms-system and teddy-taxi-web) by automating the generation of ActionBean, DTO, and Dataset XML files directly from your database schema.
This plugin is a comprehensive suite of tools designed to streamline the development of Java-based web applications (like vrms-system and teddy-taxi-web) that utilize the DynForm framework.
sdk.db.xxxx) architectures.message.xml keys across Java, XML (JSP/FRML), and JavaScript files..frml files, including custom file type recognition, improved navigation, and intelligent auto-completion for framework-specific attributes and paths.sdk.db.xxxx package support).The plugin is database-agnostic and works with any database supported by IntelliJ IDEA (PostgreSQL, MySQL, SQL Server, Oracle, SQLite, etc.) via the IntelliJ Database Tools API.
+Works with any database supported by IntelliJ IDEA and integrates seamlessly with standard web development technologies (JSP, JS, XML).
Right-click on a database table in the Database tool window and select "Generate Action Models" to get started.
+@M{ in XML or use supported I18n methods in Java/JS to see suggestions. Configure message file paths in Settings -> DynForm I18n Tools.message.xml..frml files, including file type recognition and specialized completion helpers for paths and attributes.com.sdk.dynform.tools for improved project structure and maintainability.actionDTO.ftl, actionDTO.extend.ftl) and updated logic in GeneratorServices.java.ActionField and DTOField within the generated classes.com.sdk.dynform.tools.generators.actionmodels), and template directory names were standardized to src/main/resources/templates.build.gradle.kts, plugin.xml, and Gradle wrapper files to reflect the structural and functional enhancements.