![]() |
![]() |
![]() |
Macros are a special Code Assist feature that lets you define templates of any sort that you can insert in any Source pane.
To insert a macro when you are coding, type the start of the macro name, and the type the Code Assist short-cut (usually Ctrl+Space). Select the desired macro from the completion list.
Option | Description |
---|---|
Name | The Name list shows all the macros that are defined. To change one,
select it edit it in the Expansion field. To add a new one:
|
Expansion | This field shows the actual text that will be inserted in the Source pane when you select the current macro name from the Code Assist completion list. |
If you want to restore default settings, click Defaults. If you want to apply changes without exiting the window, click Apply.
Defining Code Assist macros
Writing and formatting source code