Wednesday, July 3, 2013

How to make a CodeSnippet in Visual Studio for i18n?

If use i18n for ASP.NET MVC, need to add a lot of surroundings for strings.
A CodeSnippet could help a little bit:
In VS, Tools menu, click Code Snippets Manager. then import following xml file:


 
  
i18n i18n Code snippet for @_ Microsoft Corporation Expansion SurroundsWith
expression Exception type SimpleTypeName(global::System.Exception)