SmartType Completion Issue in Templates

Hi

I have an issue with this template

public $TYPE$ $NAME$ {
get {
return base.Get$METHOD$("$DBNAME$");
}
set {
base.Set$METHOD$("$DBNAME$", value);
}
}
$END$


I have problems with $METHOD$ because I want to use SmartType Completion to obtain the right method.
When I use the macro "smart type completion" or when I press ctrl+spacebar and select the method with tab the name is inserted but the templatemode is aborted and the second $METHOD$ does not have the right value.

Is there some way to achieve my wanted behavior or is it maybe a bug?

I'm using Visual Studio 2008 with Resharper 4.5.

1 comment

P.S. I think it is a problem caused by automatically added "(" and ")".

0

Please sign in to leave a comment.