shortcuts used in "Basic Scanning Tutorial"

I have worked with android a little while know, but cant find the feauture you guys used in this tutorial back then. On the first version of this tutorial you didnt have to copy and paste the code from the website. You just had to write a littlebit of code like "emdk_onClosed" and magicly the whole method poped out. I'm trying to do the same thing but unfortunetly i cant find anything about it. Maybe im using the wrong phrases. I hope someone could help me out here.