Adding macros to developer tab

How do I add macros to the developer tab?
Or how do I add macros to the macros>plugin section?

This is the page/section on the ImageJ wiki for adding macros/scripts to the drop-down menu: