Put Space Between Auto-Generated Getters / Setters in Eclipse

eclipse, getter, methods, setter, space

Solution

Empty line between generated getter/setter method is depending on presence of empty line between properties itselt.

So if I select this :

    private int foo;
    private int bar;

there will be no space between getters/setters, but if I select this :

    private int foo;

    private int bar;

there will be one empty line between methods.

Problem

I am using Eclipse EE IDE - Indigo. I filled in all my class variables and then right click on the page and select -> Source -> Generate Getters and Setters. This works fine but it puts the methods right on top of each other ex: ``` public String getValue1() { return value1; } public void setValue1(String value1) { $this.value1 = value1 } public String getValue2() { return value2; } public void setValue2(String value2) { $this.value2 = value2 } ``` Is there any way to tell Eclipse to put a space between the methods when auto-generating?

Original source