- Block statements within rules can be expanded and collapsed
- Pairs of brackets that belong together are marked
- Automatic completion of language constructs of the IDM rule language via syntax templates
- Code templates for annotations as well as the creation or overwriting of rules and methods
- Automatic insertion of imports for exported objects from modules in the project
- IDM-specific search with specialization by element type and restriction to specific occurrences
- View for the import hierarchy with all imported and importing modules
- Application starter with support for all major IDM launch options for logging, tracing, code pages and variant resources
- Integration of the IDM documentation into the Eclipse help system and the context-sensitive help as tooltips as well as into the Help View
- Full integration with the new IDM Builder Plugin and the new IDM Debugger Plugin
Simplified handling of imports
The IDM Eclipse Module makes importing modules and dealing with import hierarchies easier.
The new Import Hierarchy view shows you which modules are imported by the current module and which modules import the current module.
The Content Assistant can now be configured to suggest all exported models and objects in a project for completion. If necessary, the corresponding import statement is automatically added. You can specify whether an imprt or a use statement is inserted.
The extended error analysis during the build with the IDM Builder Plugin indicates unused imports.
Templates for language constructs, annotations and rules
Templates make it easier to enter code, annotations or entire rules.
The predefined templates for IDM language constructs such as if-then-else, for-do, and much more make entry within rules easier. The templates can be adapted or expanded to suit your own needs.
Annotation templates can be used to define project-related templates for comments, e.g. for objects, models or methods.
The script actions and the associated rule code templates can be used and customized for the following purposes:
- Insert the rule body of an inherited method
- Setter/Getter-Methoden für benutzerdefinierte Attribute erzeugen
- insert :init-Method
- Insert custom rule code
Advanced application launcher
Any executable can be executed using the application starter. The configuration options almost completely cover the log and trace properties of the IDM. When redirecting to the console, the output can be seen directly in Eclipse.
There are also options for specifying the resource variants or the code page.
At the start in debug mode the IDM Debugger is initialised. If the „IDM Debugger Plugin“ is available, the problem analysis can be performed in Eclipse.
IDM specific search
This specialized search is based on the syntax tree of the dialog files and allows the search of identifiers or values in their syntactic context. This allows the search to be narrowed down to a type and other criteria.
- Search types: object, rule, method, attribute, variable, resource, function, …
- Criteria: Declaration&Definition, reference, in/outside rules, read/write access, derived, current context, …
These options are particularly helpful in large dialogs, for example to specifically identify write access to a user-defined attribute.
Integration of IDM help
The documentation plugin included with the current IDM contains the complete IDM documentation and is accessible within the plugins.
This means that details about attributes, methods, object classes or other language details can be called up at the touch of a button. In addition, descriptions from the documentation are automatically displayed in help tooltips above the cursor or next to the completion list.
Tooltips also display user-defined annotations for objects, attributes, and rules, making them easier to use.
Availability
Version 2 of the IDM Eclipse plugin will be delivered from 8/2021 and is available for Microsoft Windows 10 (32-bit/64-bit) and Eclipse 4. To do this you need IDM from version A.06.0.2.m.