Structural Search question...

I am looking for all the variables that are named "enum".

This is what I am doing: search for $EXPR$, EXPR text constraints is enum

I am not getting any results. What am I doing wrong? I am using 3193. If I do get a query that does this, how do I refacotor->rename all these variables to enum1?

The other thing is that when I search for SomeClass.someMethod($STR$) and mark STR as the target, if I can export the results to a flat file where only $STR$ is exported, then some further operations can become easier (I need to send the unique list to someone in email)

thanks
vinay

2 comments
Comment actions Permalink

Hi,
Vinay Moharil wrote:

I am looking for all the variables that are named "enum".

This is what I am doing: search for $EXPR$, EXPR text constraints is enum

Argh, it seeems that due to keyword nature one could not find its
occurences in global scopes (bug)


I am not getting any results. What am I doing wrong? I am using 3193. If I do get a query that does this, how do I refacotor->rename all these variables to enum1?

The other thing is that when I search for SomeClass.someMethod($STR$) and mark STR as the target, if I can export the results to a flat file where only $STR$ is exported, then some further operations can become easier (I need to send the unique list to someone in email)

Usage view could export to text file.


thanks
vinay



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

actually the export button is completely missing when I do Struct Search.

0

Please sign in to leave a comment.