ReSharper 5 Search with Pattern
I just recently ran into the "Search with Pattern" tool in the new开发者_Python百科 ReSharper.
I tried to search for
private $Type$ $Var$ = new $Type$($TypeArgs$);
but when I search it just says "Cannot parse pattern"
when I take way the private access modifier it works. But I am trying to explicitly search for it with the access modifier.
I have also tried
$Modifier$ $Type$ $Var$ = new $Type$($TypeArgs$);
and that also returns "Cannot parse pattern"
Is this even possible?
Currently Search with Pattern can only search inside method body, not for a class member.
精彩评论