How does live template function work?

I do not understand how to use the functions in Live Template. In this case the camelCase function does not work. How do achieve this?

 

private $TYPE$ _$NAME$;

public $TYPE$ camelCase($NAME$) { get
{
return _$NAME$;
}
set
{
_$NAME$ = value;
}
}

1 comment
Comment actions Permalink

Hello Patrick, 

Do you mean you try to set up naming style with this function? Live templates should use style that set up in Preferences | Editor | Code Style | C#.

0

Please sign in to leave a comment.