Where can I find examples of visual studio macros?

When I look at something about macros for Visual studio 2005, everyone refers to the samples that come with it. However, Visual Studio was installed for me (IT department), and I do not have these sample macros.

Is there any other place where I can find (or download) them?

+4
source share
3 answers

Please note that you can also create your own using the macro recorder (Ctrl + Shift + R). After you commit some actions, stop recording (ctrl + shift + R again), you can view the macro source using the Macros IDE (Tools | Macros | Macros IDE).

+2
source

In VC 6, they were in a normal file from what I remember, but I'm not sure where they are stored in VS2005 and VS2008. I can’t imagine that the option to install not exists.

Have you looked in the Macro IDE or in the Macro Explorer?

http://msdn.microsoft.com/en-us/library/s2shw615(VS.80).aspx

The Macros IDE has several sample macros to learn and use. They are located in a node called patterns and are available in either the Macro Explorer or the Macros IDE. Below is a list of sample macros and a description of what they do.

0
source

Try examples and tutorials here.

Code draft

Adding a row counter

0
source

Source: https://habr.com/ru/post/1285631/


All Articles