Topic: Firefox Extension

After being lulled into a false sense of security through Netbeans and it's lovely tab completion, I find myself longing for the same feature in Firefox when posting on these forums.

I would love an extension where I type hm<tab> and it writes out "has_many" for me.

Anyone have any experience coding extensions for Firefox? Is it easy? How would it be done?