Home > Back-end >  Can I implement interface methods as bulk operation in Intellij?
Can I implement interface methods as bulk operation in Intellij?

Time:05-13

I have java project with 1 interface and 100 classes that implement it. If I add method to interface then I must add implementations to those 100 classes also. Does Intellij offer any bulk operation or do I have to manually open every class and implement methods? I mean yes there are keyboard shortcuts to speed this up but is there a way to do it for all classes at once?

CodePudding user response:

Alt Enter, Implement method, Enter, Ctrl A to select all classes, Enter.

implement

select all

  • Related