feat(dynform): structural validation and generator enhancements

- Implemented DynFormAnnotator to validate field usage in <LAYOUT> and <FILTERS> against their respective <FIELDS> definitions.
- Refined ActionBean generator logic for NUMBER and DATE column width calculation.
- Improved window management and focus for newly generated files using FileEditorManagerEx.
- Bumped plugin version to 3.2.6.
This commit is contained in:
2026-04-18 12:57:07 +07:00
parent d2d2d4d642
commit ffe1712318
4 changed files with 103 additions and 13 deletions

View File

@@ -34,6 +34,12 @@
]]></description>
<change-notes><![CDATA[
<h2>[3.2.6]</h2>
<ul>
<li><strong>Structural Validation:</strong> Introduced a new Annotator to validate that all fields used in <code>&lt;LAYOUT&gt;</code> and <code>&lt;FILTERS&gt;</code> are correctly defined in their respective <code>&lt;FIELDS&gt;</code> sections.</li>
<li><strong>Generator Logic Update:</strong> Refined the column width calculation for NUMBER and DATE types in the ActionBean generator for better XML compatibility.</li>
<li><strong>Improved File Opening:</strong> Switched to <code>FileEditorManagerEx</code> for opening generated files, ensuring better window focus and management in recent IDE versions.</li>
</ul>
<h2>[3.2.5]</h2>
<ul>
<li><strong>Dataset to Form Mapping:</strong> Implemented comprehensive reference and completion support for the <code>FORM-NAME</code> attribute in <code>DATASET > FIELDS > FIELD</code>.</li>
@@ -188,5 +194,6 @@
<completion.contributor language="XML" implementationClass="com.sdk.dynform.tools.dynform.DynFormCompletionContributor"/>
<completion.contributor language="JavaScript" implementationClass="com.sdk.dynform.tools.dynform.DynFormCompletionContributor"/>
<annotator language="XML" implementationClass="com.sdk.dynform.tools.dynform.DynFormAnnotator"/>
</extensions>
</idea-plugin>