Generate constructors and accessor methods

Quickly generate common code constructs such as Constructors, Getters and Setters.

You can use ⌘N (macOS) / Alt+Insert (Windows/Linux) for the Generate menu and then select Constructor, Getter, Setter or Getter and Setter. In the popup, select which fields to include.

Interested in JVM Development?

call to action image

IntelliJ IDEA allows you to generate many more methods too!

Learn More


Related Resources

Inlay Hints
Inlay Hints
Inlay hints provide additional information about your code.
Go to Next Error
Go to Next Error
Quickly move to the next (or previous) error or warning in the file.
Find Next Word
Find Next Word
Find next word and highlight all instances.