structural modification on multiple sources

this seems not yet be possible, but it should IMHO:

I need to add "implements XY" to 8 classes.
-> I want to select those classes somewhere and trigger
some refactor -> add "implements"

You could call it "structural modification" on a set
of sources.

2 comments

Hi,

Please, consider following:

Search template:
class $a$ {
$ClassContent$
}
$ClassContent$ occurence 0..1000000
Refine the search results as to include the classes you need to modify

Replacement template:
class $a$ implements XY {
$ClassContent$
}

Michael Damberger wrote:

this seems not yet be possible, but it should IMHO:

I need to add "implements XY" to 8 classes.
-> I want to select those classes somewhere and trigger
some refactor -> add "implements"

You could call it "structural modification" on a set
of sources.



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

0

... so it is indeed possible ;)

Thank you very much for the tipp !!

0

Please sign in to leave a comment.