How do I make Dreamweaver to show me closing tags?

KaiserSoze picture KaiserSoze · Jan 5, 2011 · Viewed 49.6k times · Source

I would like Dreamweaver to show me the opening/closing tag when I select a tag. This functionality is seen in many editors, I know for sure Eclipse has it.

To make things clearer: When I select/highlight a <div> opening tag with my mouse I would like Dreamweaver to select/highlight the </div> closing tag.

My main questions:

  1. Does anybody know what this functionality is called?
  2. Does anybody know how to add this functionality to Dreamweaver?

I've tried searching the Dreamweaver extensions on the Adobe exchange but couldn't find what I'm looking for.

Answer

David Powers picture David Powers · Jan 5, 2011

Dreamweaver has two different ways of selecting matching tags, depending on whether you're working with HTML or a scripting language.

To select the matching opening and closing tags of an HTML element, click inside the element, and click the Select Parent Tag button in the Coding toolbar. It's the sixth button from the top (I tried to attach a screenshot, but don't yet have sufficient privileges to do so).

To select matching opening and closing curly braces, brackets, or parentheses, click inside the opening or closing symbol, and click the Balance Braces button on the Coding toolbar (it's immediately below Select Parent Tag). Alternatively, use the keyboard shortcut, Ctrl+'/Cmd+'.


Here's what the toolbar icons look like.