C#Builder offers a macro facility for recording reusable action sequences while building applications. Macro controls are located at the left part of the status bar, below the editor, as shown in Figure 1.21. Table 1.3 describes the macro controls. Figure 1.21. An active macro in the C#Builder IDE.
To get an idea of how this works, the following example steps through creating and running a macro. It is a simple macro that puts an XML documentation comment above a code element. However, it shows the basic elements of how to create macros.
An XML documentation macro has just been recorded. The green arrow to the left of the Record Macro button should now be visible. To run this macro, position the caret above any class member that you want documentation comments on and click the green arrow button. |