Silverlight, WPF, Fireworks, Flash, XAML, .NET, User Experience, Graphic Design, Web Programming and more!
The 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.
2 Responses for "Enabling Code Navigation Button in Dreamweaver"
Woot */*
The more I work in Dreamweaver the more I wish it handled code better. Thanks for the fix.
Anything else I should move out of the comment block?
Thank you!! I use this button all the time, it was disappointing to see it removed with my latest upgrade to Dreamweaver CS4. (You can right-click and find this under “functions”, but still not as convenient as just having it always present.)
Leave a reply