add code to hundred classes
I
just staring with intellij i'm looking to a way to add to about one hundred classes this code just under the class declaration :
@Override
public String getUrl() {
return BASE_URL + "template";
}
@Override
public void isAt() {
assertThat(title()).isEqualTo("template");
}
thanks
请先登录再写评论。
Looks like a problem made for Structural Search & Replace (Edit > Find > Replace Structurally...)
Use something like this as a Search Template:
With the Occurrences Count for $Content$ 0 - unlimited (Under the Edit Variables button).
And for the Replace Template something like this:
Hope that helps,
Bas
cool Thanks