Source Templates Wizard

Source Templates Wizard

Code Editor Wizard is designed to extend code editor. It includes a group of code templates. Both Delphi and C++Builder are supported.

After defining code templates, you can insert them into source code. You can use pre-defined macro or user-defined macro in code template, when inserting they will be replaced by actual text.

 

Code Template Settings

This dialog lists all code templates, which shows as below:

 

 

Template Editor

When user adds or edits a code template, the Template Editor shows as below:

Template Options

 

You can use pre-defined and user-defined macro in code template.

Select a macro and click Insert button, then the pre-defined macro will be insert to current position.

User-defined macro need wrapped by two "%", macro name may any characters.

When a template executed, pre-defined macros will replaced automatically, but user-defined macros will show a dialog to require user inputting actual text.

The macro is the name of user-defined macro, and the value is actual text to be replaced.

Enter key to set the focus to next macro. When finished, actual context will be inserted to current code.

 

Links

Basic Operation

CnWizards Settings

About CnWizards

 


Copyrights 2001-2014 CnPack Team