Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make Dreamweaver to show me closing tags?

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.

like image 460
KaiserSoze Avatar asked Jan 05 '11 16:01

KaiserSoze


People also ask

How do you create a self closing tag in HTML?

The br tag inserts a line break (not a paragraph break). This tag has no content, so it is self closing.

Does HTML support self closing tags?

Notes. ↑ The full list of valid self-closing tags in HTML5 is: area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, and wbr. However, only ‎<br /> , ‎<hr /> , ‎<wbr /> are allowed through the parser.

What is a closing tag?

The closing tag is made up of the element's symbol preceded by a forward slash and wrapped in angle brackets, like this: </p> The text you want to display on your web page is placed between the opening and closing tags, like this: <p>Text goes between the opening and closing brackets.</p>


2 Answers

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.

like image 55
David Powers Avatar answered Sep 30 '22 17:09

David Powers


well I dont know If Im really giving u a solution but if u select a tag, the code editor will show u (at the end of the window) the tag u are on. If u click on the tag information (same place) then the code-editor will highlight the place in btw the choosen-tag

like image 22
YoniGeek Avatar answered Sep 30 '22 18:09

YoniGeek