Hi,
Sorry to reopen this old thread.
There are functions to do this on the fly.
like,
dw.codeHints.addMenu()
dw.codeHints.addFunction()
dw.codeHints.resetMenu()

But I am not sure how and where to write code for this.

I found this in the help file for extending Dreamweave under the topic
JavaScript API: Asset panel through Enabler functions
Code hints functions

I am a newbie in Macromedia exchanges and I am learning to use it for making
my life easier.

Can any body tell me how to write extenssions which will load when I start the
Dreamweaver.
and add menus and Functions(Using the functions mentioned above) dynamically
as I edit my Code.