So if I declare a private member such as
private MyObject test;
I want to create a template that will generate code in the following format
public MyObject retrieveAllMyObjects() {
return test.findAll();
}
I have been messing around with the templates but I can't even figure out how to activate the templates. when I do the Ctrl+Space i just get no template proposals message
public ${return_type} retrieveAll${field}s() {
}
Obviously this is just a starting point, i was just trying to see if i could get eclipse to generate this and then I would go from there, but no such luck. My template doesn't show up anywhere. The context im using is "Java Type Members" what am I doing wrong??