We’re here to help you

Menu

Model Editing Tips

The following tips, or guidelines, hold mostly in the case when you use Dezyne after you have downloaded it from the Download page or you have installed it as a plugin in your Eclipse environment (see guidelines to install and use Dezyne as plugin in Eclipse).

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.

image

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.

image

If you have questions that weren’t answered by this Guide,
let our support team help you out.

Enjoy this article? Don't forget to share.
google-site-verification:google656c7703ab521151.html