So I'm creating this file template. I'm using the $SOME_VARIABLE$
which is awesome.
I'm doing this template:
var angular = require('angular');
angular.module('MyModule', [])
.controller('MyController.MyModule', myController);
So the MyController.MyModule
is a combination $__$
. You can see that the only difference between MyController
and myController
is that the first camel case and the second is pascal case. So how do you get resharper to automatically create the pascal case for you.
Select Choose Macro
from the parameters list on the right hand side.
Scroll to the bottom and there are some lower case options.
Longer version:
When you create a variable that Resharper can use by surrounding a word in $
:
public class $CLASSNAME$
{
}
It will show up a parameter on the left hand side, then there should be blue underlined text saying Choose Macro
.