views:

136

answers:

0

Is it possible to replace text in a Visual Studio Snippet literal after the enter key is pressed and the snippet exits its edit mode?

For example, given a snippet like this:

 public void $name$
 {
   $end$
 }

If I were to enter $name$ as:

 My function name

is it possible to have Visual Studio change it to:

 My_function_name

or

 MyFunctionName