Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9094379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:20:12+00:00 2026-06-16T23:20:12+00:00

I am using Eclipse EE IDE – Indigo. I filled in all my class

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:20:13+00:00Added an answer on June 16, 2026 at 11:20 pm

    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.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using eclipse IDE and want to edit the attached source file of
I have developed a web application based on struts2.2.1, using Eclipse indigo IDE with
Possible Duplicate: Eclipse will not open due to environment variables I'm using eclipse IDE
Using Eclipse IDE. The line: getClass().getResource(/res/bitmaps/image.png); returns null . I have created the res
I'm using Eclipse IDE + remote Xdebug. EclipseIDE is listening 9000 port for some
I'm using Eclipse IDE and I have the following line in my code: import
I am learning how to create an android app and webservice using: Eclipse IDE
I am trying to create an android project using eclipse IDE,its created successfully but
I'm developing one web application, using PHP eclipse IDE. For an instance i want
I m doing a project using eclipse plugins in jave to create an ide

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.