An extension for Visual Studio 2013+ that enables the use of macros in the IDE. The extension can record most of the features in Visual Studio including text editing operations.
Have a look at the DTE Interface, more particularly the Breakpoints Interface. If what you are asking is indeed supported, I think it would be through these interfaces.
I once has a macro in visual studio that would put a break point on every function. Is that possible with your extension?