In the web project I have been working on, we have string literals all over like
<div class="title">This is Title</div>
<div class="text">This is some text<div>
In order to make the application multilingual, I need to replace all these literals to some helper methods:
<div class="title">@TranslationHelper.Translate("This is Title")</div>
<div class="text">@TranslationHelper.Translate("This is some text")<div>
I want to create a custom shortcut (e.g CTRL + ALT + M) either through Resharper 8.0 or Visual Studio 2012.
When I select the text I want to transform and press the shortcut I defined, Visual studio should replace the selection with the format I defined.
How do I do that?