I have a situation where I want to run a Visual Studio macro that has the user type something in an InputBox, then inserts a snippet and includes that text somewhere in it. Unfortunately, I can't figure out how to insert the snippet from macro code. It seems like it'd be something like
DTE.ExecuteCommand("Edit.InvokeSnippetFromShortcut")
or
DTE.ExecuteCommand("Edit.InvokeSnippetFromShortcut", "theSnippetName")
but those don't work. Any ideas?