Megosztás a következőn keresztül:


Using Macros in the Editor

The Code Editor fully supports macro recording actions, except for mouse actions. Actions that include use of the Find and Replace Window (but not incremental search), are also fully recorded.

Macro recording is performed by emitting code against the editor's rich automation object model, so you can record a macro, use ALT+F11 to display the Macros IDE, and then view the code to learn how to write your own commands for the Editor. For more information, see Automating Repetitive Actions by Using Macros.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

See Also

Other Resources

Editing Text, Code, and Markup

Visual Studio Macros