如何使Dreamweaver向我显示结束标签? [英] How do I make Dreamweaver to show me closing tags?

查看:172
本文介绍了如何使Dreamweaver向我显示结束标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望Dreamweaver在选择标签时向我显示打开/关闭标签。



为了使事情更清楚,我在Eclipse中看到了这一功能。



选择/突出显示< div> 开头的标签,我希望Dreamweaver选择/突出显示< / div> 结束标签。



我的主要问题:


  1. 有人知道这个功能叫什么吗? ?

  2. 有人知道如何将此功能添加到Dreamweaver吗?

我尝试过在Adobe交易所上搜索Dreamweaver扩展,但找不到我想要的东西。

解决方案

Dreamweaver有两种不同的方式选择匹配标签的方法,具体取决于您使用的是HTML还是脚本语言。



要选择HTML元素的匹配开始和结束标签,请在元素,然后单击编码工具栏中的选择父标记按钮。这是顶部的第六个按钮(我尝试附加屏幕截图,但还没有足够的权限执行此操作)。



选择匹配的打开和关闭卷曲大括号,方括号或括号,在打开或关闭符号内单击,然后单击编码工具栏上的平衡大括号按钮(紧接在选择父标签下方)。或者,使用键盘快捷键Ctrl +'/ Cmd +'。







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.

解决方案

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+'.


这篇关于如何使Dreamweaver向我显示结束标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆