Set and correct the indentation in the model files
Eclipse provides a middle to personalize the look and feel of the files opened in the editor. Choose 'Window→Preferences→General→Editors→Text Editors' and specify the settings.
If someone or something changed the look and feel of a file you open in the editor you can set it back to your personalized form if you press Ctrl+A (to select all content of file) followed by Ctrl+Shift+F to apply the formatting according your specifications.
Use the code completion and template features
While typing in the editor press Ctrl+Space to activate and use the code completion feature. You will be presented with a dropdown list of context aware options to choose from.
Additionally, by pressing Ctrl+Space, you can activate and use templates in Dezyne. For example, when you press Ctrl+Space after typing in the ‘component’ keyword you can specify/include a parameterized template of a component definition in one selection.
In system components you can use code completion to automatically create all binding statements. Press Ctrl+Space on an empty line after the declarations of the embedded components and scroll down to the last option in the list. If there are no ambiguities in the bindings Dezyne will generate them all fully automatically. If there are ambiguities you will be confronted with the alternatives which you can choose one by one until everything is resolved and generated.
Enjoy this article? Don't forget to share.
Verum Software Tools BV
Laan van Diepenvoorde 6
5582 LA Waalre
Tel: +31 40 235 9090