Did you know… How to use the Recording Macro (Ctrl+Shift+R)
I find using the Recording Macro great for
- Learning more about our object model and DTE
- Getting a code snippet for a larger macro I want to write
- Doing a single action to generate the macro code for it, and then surrounding it within a loop. Now I can do the single action as many times as I want with one command
You can go to Tools – Macros – Record Temporary Macro (Ctrl+Shift+R). Once you are finished recording (press stop on the Recording Macro toolbar), go to Tools – Macros – Macros IDE and open MyMacros- RecordingMacro in the Project Explorer to view the macro code.
Happy Visual Studio’ing!