I was using a factory like this
$factory = new Object_Factory();
$curr_object = $factory->create('brand');
to generate instances of objects I needed and wondered why Eclipse could not auto-complete e.g. getters and setters in my code for me later on for the
$curr_object. My productivity and my motivation to type all that stuff were seriously suffering…
So I found a very nice solution: Hippie Completion!
Instead of listing possible completion solutions like with Strg-Space the
key-combo “Alt-/” (/ on the number block!)
just completes what you started typing. You can also press Alt-/ as many times you like to page through all terms you could have meant like with the Strg-r on the console.
In case you try and wonder why it is not working like expected right away: Precondition for the hippie completion in Eclipse is, you typed the term to be completed once before!
Why didn’t anyone tell me this cool one before!