开发者

ReSharper 5 Search with Pattern

开发者 https://www.devze.com 2023-01-09 11:35 出处:网络
I just recently ran into the \"Search with Pattern\" tool in the new开发者_Python百科 ReSharper.

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

精彩评论

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