microsoft / VS-Macros

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.
Other
131 stars 41 forks source link

Unreliable playback #41

Open rogerfar opened 7 years ago

rogerfar commented 7 years ago

I have this macro:

dte.ExecuteCommand("Edit.Find"); dte.Find.FindWhat = 'constructor('; dte.Find.FindWhat = ')'; dte.ActiveDocument.Selection.CharLeft(); Macro.InsertText(","); dte.ActiveDocument.Selection.NewLine(); Macro.InsertText("configurator: IConfigurator)");

It can't figure it out how to get it to work. Sometimes it jump to the correct line, sometimes it doesn't do anything, most of the time it puts in only half the text.

I don't have any plugins installed.