Search code examples
intellij-idea

Can I implement interface methods as bulk operation in Intellij?


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?


Solution

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

    implement

    select all