Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't generate TODO eclipse when i create new content

I want Eclipse not to automatically generate some //TODO stuffs like this for example :

@Override
public String getPassword() {
    // TODO Auto-generated method stub
    return null;
}

I want to desactivate this feature in Eclipse...

Can somebody know how to deal with this ?

like image 884
jozinho22 Avatar asked Feb 15 '26 20:02

jozinho22


1 Answers

These are set by the Code Templates in the Preferences - Java > Code Style > Code Templates.

Look a the 'Method body', 'Constructor body', ... templates in the 'Code' section

like image 159
greg-449 Avatar answered Feb 18 '26 09:02

greg-449



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!