开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜