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:
@@ -4,7 +4,7 @@ plugins {
|
||||
id("org.jetbrains.intellij.platform") version "2.7.0"
|
||||
}
|
||||
group = "com.sdk.dynform.tools"
|
||||
version = "3.2.5"
|
||||
version = "3.2.6"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
@@ -38,19 +38,18 @@ intellijPlatform {
|
||||
}
|
||||
|
||||
changeNotes = """
|
||||
<h2>[3.2.6]</h2>
|
||||
<ul>
|
||||
<li><strong>Structural Validation:</strong> Introduced a new Annotator to validate that all fields used in <code><LAYOUT></code> and <code><FILTERS></code> are correctly defined in their respective <code><FIELDS></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>
|
||||
<li><strong>Smart Field Resolution:</strong> <code>FORM-NAME</code> now correctly resolves to hidden fields in <code>FORM_ENTRY > FIELDS</code> and any named fields within <code>FORM_ENTRY > LAYOUT</code>.</li>
|
||||
<li><strong>Recursive Form Scanning:</strong> Enhanced field discovery to scan across all form entries in the current and recursively included <code>.frml</code> files.</li>
|
||||
</ul>
|
||||
<h2>[3.2.4]</h2>
|
||||
<ul>
|
||||
<li><strong>Persistent Generation Directories:</strong> Generator now remembers the last used directory for Action Beans and Dataset XMLs independently per project.</li>
|
||||
<li><strong>Auto-Open Generated Files:</strong> Added configuration to automatically open newly created files in the editor, with a customizable limit on the number of files.</li>
|
||||
<li><strong>Strict Project-Relative Paths:</strong> I18n and XSD configuration now strictly enforces file selection within the project root and stores paths as relative for maximum portability.</li>
|
||||
<li><strong>Smart File Browser:</strong> Improved file picker logic to automatically start at the current configured directory if it's within the project, falling back to the project root otherwise.</li>
|
||||
</ul>
|
||||
<h2>[3.2.3]</h2>
|
||||
<ul>
|
||||
<li><strong>Advanced Data Referencing:</strong> Implemented comprehensive reference and completion support for <code><FOREIGN-DATASETS></code> and <code><MASTER-DATA></code> structures.</li>
|
||||
|
||||
Reference in New Issue
Block a user