Does Structural Search work at all for Typescript?

Should Structural Search work for Typescript? I've been experimenting with it, and can't get it to do even very simple things. For example, here's a search that I'd expect to find private variables:

class $name$
{
private $var$: $type$;
}

It scans through my entire code base, and finds nothing, even though I know I have some. I tried changing "private" to "$access", , figuring that perhaps I can set a filter on $access$ to "private", but it won't even take it as valid:

 

I do notice that there are no built-in Typescript templates, so what's going on here? Do I have my syntax wrong? Or does SS just not work with Typescript?

0
2 comments

Hello! I logged the issue as https://youtrack.jetbrains.com/issue/IDEA-273705. Please follow it to be notified on updates.

0

Please sign in to leave a comment.