It should be enabled by default. I have found the one thing that will supress it is if you are using the old standard cq:actions on your cq:editConfig node. So in CQ 5.4 the default options are usually something like edit,copymove,delete,insert. In If you want annotations to be turned on your have make sure you use editannotate instead of just edit. You can see what all the valid options are at: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/compo nents/EditAction.html.
Thanks for sharing this, i was searching the same from last few days, i think it will help me alot to get how to enableing annotation for custom built components.. thanks for sharing this. I am going to sms this link to one of my friend who is also looking for this..
Europe, Middle East and Africa