Reputation: 7066
Can we use custom shortcuts in Visual Studio ? I want to insert some code on a shortcut key press. for example, I need to insert a line-break <br/>
on a shortcut press.
Can I do that?
Upvotes: 0
Views: 213
Reputation: 3977
For VS2010 at least the solution is to use a macro. Once your macro is created see here for information on how to bind it to a shortcut key.
I don't have VS2012 available to confirm but according to this question, the macro recording facility has been removed. There are some solutions posted in that question which might help.
Upvotes: 1