javaeclipsegeneratortodo

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 ?


Solution

  • you can remove by exploring below path in your eclipse.

    Window -> Preferences -> Java -> Code Style -> Code Templates.

    In the code tree you have the templates. Select for example Code → Method Body and press “Edit” to edit this template and to remove the todo comment.