我在哪里可以找到visual studio宏示例?

时间:2023-01-14 18:52:41

When I look up anything about macros for Visual studio 2005, everyone is referencing the samples that ship with it. However, Visual studio was installed for me (IT department) and I do not have these sample macros.

当我查看Visual Studio 2005的宏时,每个人都在引用随附的样本。但是,为我(IT部门)安装了Visual Studio,我没有这些示例宏。

Is there another place I can find(or download) them?

还有其他地方我可以找到(或下载)它们吗?

3 个解决方案

#1


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

请注意,您也可以使用宏录制器创建自己的(Ctrl + Shift + R)。录制完一些动作后,停止录制(再次按ctrl + shift + R),可以使用Macros IDE(工具|宏|宏IDE)查看宏源。

#2


In VC 6 they used to be in a normal file from what I remember, but I'm not sure where they are kept in VS2005 and VS2008. I can't imagine that there is an install option to not include them.

在VC 6中,它们曾经是我记忆中的普通文件,但我不确定它们在VS2005和VS2008中的保存位置。我无法想象有一个安装选项不包含它们。

Did you look in the Macro IDE or the Macro Explorer?

你看过Macro IDE还是Macro Explorer?

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

The Macros IDE includes some sample macros for your study and use. They are located in a node called Samples and are available in either the Macro Explorer or the Macros IDE. The following is a list of the macro samples and a description of what they do.

Macros IDE包含一些示例宏供您学习和使用。它们位于名为Samples的节点中,可在Macro Explorer或Macros IDE中使用。以下是宏示例列表以及它们的作用说明。

#3


Try here for examples and tutorials

试试这里的示例和教程

Code Project

Line Counter Add-in

行计数器加载项

#1


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

请注意,您也可以使用宏录制器创建自己的(Ctrl + Shift + R)。录制完一些动作后,停止录制(再次按ctrl + shift + R),可以使用Macros IDE(工具|宏|宏IDE)查看宏源。

#2


In VC 6 they used to be in a normal file from what I remember, but I'm not sure where they are kept in VS2005 and VS2008. I can't imagine that there is an install option to not include them.

在VC 6中,它们曾经是我记忆中的普通文件,但我不确定它们在VS2005和VS2008中的保存位置。我无法想象有一个安装选项不包含它们。

Did you look in the Macro IDE or the Macro Explorer?

你看过Macro IDE还是Macro Explorer?

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

The Macros IDE includes some sample macros for your study and use. They are located in a node called Samples and are available in either the Macro Explorer or the Macros IDE. The following is a list of the macro samples and a description of what they do.

Macros IDE包含一些示例宏供您学习和使用。它们位于名为Samples的节点中,可在Macro Explorer或Macros IDE中使用。以下是宏示例列表以及它们的作用说明。

#3


Try here for examples and tutorials

试试这里的示例和教程

Code Project

Line Counter Add-in

行计数器加载项