Is there a way to insert a concrete snippet (say, MySnippet1) with a single shortcut or toolbar command in Visual Studio 2010?
I've tried macro recorder - it doesn't allow inserting snippets during recording.
Regards,
Is there a way to insert a concrete snippet (say, MySnippet1) with a single shortcut or toolbar command in Visual Studio 2010?
I've tried macro recorder - it doesn't allow inserting snippets during recording.
Regards,
If you go to 'Code Snippet Manager' short cut => Ctrl + K, Ctrl + B. You will see that all snippets have a direct shortcut associated with them. I would guess that if you were to add your own snippet you will get an option of linking a direct short cut to it.
HTH.
Cheers, Tarun