Search code examples
javaintellij-ideaidecode-generationjetbrains-ide

Use "generate code" of IntelliJ for more classes


IntelliJ have a very useful option called "generate code", that I can apply to a class for generating code regarding constructors, getters, setters etc...

Unfortunately, this seems to work for only one Java class at once. It is possible to apply to multiple classes at once?


Solution

  • I don't think so. It's one at a time.

    I tried searching if we can generate code for multiple classes at once using IntelliJ's "generate code", I didn't find any option for such activity. Tried few options in local too with no success.

    Even in Jetbrains helps section I don't see such an article which can help in this.