Structural search replace arguments with single
Answered
I would like to match all constructors of certain type and replace with constructor that is called with one argument from the list, for example:
new DoubleNode($Argument$) -> matches new DoubleNode("name", "value")
would like to replace with something like this:
new DoubleNode($Argument$[1]) -> replace with new DoubleNode("value")
Please sign in to leave a comment.
Hello,
Currently it's not possible. Feel free to create feature request on YouTrack: http://youtrack.jetbrains.com/issues/IDEA.