HTML编辑器可以通过Tag折叠代码块并移动它们?

我正在寻找一个编辑器或IDE,最好是一个至少具有一些语法高亮功能的编辑器或者IDE,这会让我崩溃 HTML代码按标记块阻止并拖动它们。 我有Eclipse,但它的“折叠”选项仅适用于顶级标签,如TABLE等,而不是像TD,TR等子标签。是否有具有此功能的Windows PC编辑器? 我希望能够将块作为实体移动到PHP脚本页面。 例如,我经常想将包含大块代码的TD元素从一行移动到另一行。 如果没有折叠TD元素的能力,那么在视觉上试图执行移动是一种尴尬的体验。</ p>
</ div>

展开原文

原文

I am looking for an editor or IDE, preferably one with at least some syntax highlighting capability, that would let me collapse HTML code blocks by Tag and drag them. I have Eclipse but it's "folding" option only works on top level Tags like TABLE, etc., not child Tags like TD, TR, etc. Is there an editor for Windows PCs that has this capability? I would want to be able to move the block as an Entity around the PHP script page. For example, frequently I want to move a TD element that contains a large block of code from one row to the other. Without the ability to collapse the TD element it is an awkward experience visually trying to execute the move.

dongxiaowei_1234
dongxiaowei_1234 尝试使用netbeans?
9 年多之前 回复

3个回答



在Windows上我通常使用Notepad ++,TextWrangler在Mac上为我做这个,我相信gedit在Linux中具有相似的能力,但不要 引用我的话。</ p>
</ div>

展开原文

原文

On Windows I generally use Notepad++, TextWrangler does it for me on the Mac and I believe gedit has similar abilities in Linux, but don't quote me on that.

展开原文

原文

I've used Netbeans for a long time now. It differs from Eclipse in many aspects (not all of them good but some great usability tweaks) and it has what you need - it can fold any tag, no matter how deep in hierarchy.

doujian1954
doujian1954 它还格式化代码,不仅包括PHP,还包括CSS,JS和HTML。 伟大的编辑器,我自己一直用于基于PHP的项目。
9 年多之前 回复



您可以使用Dreamweaver进行折叠/展开表格或任何标记</ p>
</ div>

展开原文

原文

you can use a dreamweaver for collapse/expand table or any tag

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐