Another Structural Replace-strangeness
I have a replace-pattern like this:
Search: $Instance$.$MethodCall$($par1$,$Parameter$,$par2$)
Replace: $Instance$.$MethodCall$($par1$,$par2$)
par1, par2 is 0-*
Parameter is like sessionUtil, and 1-1
A Find.. +does +locate all interesting methodscalls. The Preview-function +does +show the wanted replacement, but when I do a Replace, I only get a "." instead of the method-call?!
Example: object.methodcall(a, sessionUtil) should be replaced by object.methodcall(a). Instead the only remaining text is the dot. Surely, this must be a bug?!
Please sign in to leave a comment.
Hi,
It seems some weird bug. What IDEA version you are using?
Please, file JIRA item with example code (source, search/replace
patterns) if the problem is reproducible.
Jesper Thuun-Petersen wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"