我已经使用 Dreamweaver CS3 很长时间了,现在我的大部分编码都是 PHP(通常使用 CodeIgniter),我真的需要找到一个新的 IDE。
我尝试过 PHPDesigner 和 Aptana Studio 3,并且对两者都很满意,直到我开始使用 HTML 进行编码,并看到它们如何在打开标签后立即自动关闭标签,将光标放在它们之间。在网上进行大量搜索后,这似乎是常态,但我已经非常习惯 Dreamweavers 风格,当我输入 并放置时自动关闭最近打开的标签我的光标位于生成的结束标记的末尾。
是否有任何 IDE 可以自动关闭 上的标签,或者我要求太多了?
I've been using Dreamweaver CS3 for far to long, and now that most of my coding is PHP (often using CodeIgniter), I really need to find a new IDE.
I've tried PHPDesigner and Aptana Studio 3, and was happy with both until I started coding in HTML and saw how they auto-close their tags as soon as one is opened, placing the cursor between them. After a lot of searching around the web, this seems to be the norm, but I've become very used to Dreamweavers style of auto-closing the most recent opened tag when I type </
and place my cursor at the end of the generated closing tag.
Are there any IDEs out there that auto-close their tags on </
or am I asking too much?
发布评论
评论(2)
默认情况下,Netbeans 7 提供您在 PHPDesigner 和 Aptana Studio 2 中观察到的行为。但是,可以通过“首选项 -> ”更改该行为。代码完成-> HTML 为您喜欢的自动关闭样式。
特别注意“完成在小于 (<) 字符后提供结束标记”选项。
By default, Netbeans 7 provides the behavior you observed in PHPDesigner and Aptana Studio 2. However, the behavior can be changed via Preferences -> Code Completion -> HTML to the auto-close style that you prefer.
Look specifically for the "Completion Offers End Tags After Less Than (<) Character" option.
我以前用过 Espresso,它只能在 Mac 上使用,但效果相当好。它有自动关闭功能,但我认为 Dreamweaver 也有。
I used Espresso before, it only works on Mac but it is quite good. It has auto close but I think Dreamweaver has it too.