Dreamweaver Code Navigation/Function ButtonThe last two releases of Dreamweaver have left out a feature of Dreamweaver MX that I have found very useful — the Code Navigation button. When in code view, this button allows you to jump directly to any function defined within the current document. It’s a definite time saver, preventing lots of scrolling and searching in long documents.

Enabling this feature just requires uncommenting a few lines of code in the following configuration file:

{Dreamweaver Installation Directory}/Configuration/Toolbars/toolbars.xml

Find the following section and move it outside the html <!– –> comment tags.

<menubutton id="DW_CodeNav"
image="Toolbars/images/MM/codenav.png"
disabledImage="Toolbars/images/MM/codenav_dis.png"
imageMac="dwres:18067"
disabledImageMac="dwres:18080"
tooltip="Code navigation"
enabled="dw.getFocus() == 'textView' || dw.getFocus() == 'html'"
menuID="DWCodeNavPopup"
update="onViewChange"/>

That’s all there is to it – just restart Dreamweaver and enjoy the benefits of this *old* feature.