IntelliJ getter/setter format
How can you get IntelliJ to generate getter/setters on one line like this: public String getAbc() { return abc; } Instead of public String getAbc() { return abc; } ?? David Robles There are no templates neither for getters nor for equals/hashcode. These are hardcoded in IDEA. Source You can see that in this IntelliJ Wishlist Alex G I'm using IntelliJ IDEA 14.1.0 and you can customise this behaviour. Just use the "Generate..." option, or use Alt + Insert shortcut, and select "Getter and Setter". In the "Select Fields" window that gets opened, you have the "Getter Template" option at the top.