Writing Macros

Writing Macros

Macros are written in C# and must be implemented in a class that inherits from the MacroExpansionProvider base class.

To implement Non-Function macros, you need to override the RunAsync() method in the base class and return one expansion for each macro.

To implement Function macros, you must implement your own methods which must return a string.

See Also