Structural Search question...import or package statements...

I think this has been answered before - I just cannot seem to find the post.

I am looking for package or import statements. I understand that package and import both fall outside the class and hence structural search may not work - but need confirmation.

I am actually doing this for replace - not for just search. I can do this easily using sed but just checking before I go down that path.

thanks
vinay

3 comments

Hi,
not yet.

Vinay Moharil wrote:

I think this has been answered before - I just cannot seem to find the post.

I am looking for package or import statements. I understand that package and import both fall outside the class and hence structural search may not work - but need confirmation.

I am actually doing this for replace - not for just search. I can do this easily using sed but just checking before I go down that path.

thanks
vinay



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

0

Maxim,

I guess you are saying that I cannot do this yet - but may be in the future. Right?

0

Yes, please, file JIRA request

Vinay Moharil wrote:

Maxim,

I guess you are saying that I cannot do this yet - but may be in the future. Right?



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

0

Please sign in to leave a comment.