手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆

杂七杂八:editplus and netbeans

首页 > Software >

Editplus和netbeans是什么我想不用详细介绍了吧。一般做PHP开发的人,几乎都了解这两个玩意。
Editplus是韩国人开发的,Netbeans是Sun的产品。

先说Netbeans吧,嗯,他们的东西还算不错,只是让我们写PHP的人郁闷的是,它没有自动换行(line wrap),所幸,6.10开始,这个功能已经被加进去了。现在用6.10M1的版本都可以进行尝试,但在尝试前,请记住(扫描项目的时候,不要设置换行,否则80%的机率会让你的NB爆掉)。

官方这样解释:

XML/HTML代码
  1. Guys from editor infrastructure asked me to help him to test new editor infrastructure that brings up also line wrapping features. Probably you remembered that this feature was enabled during NetBeans 6.9 development, but because it introduced many problems and there wasn't time to stabilize it enough, it's not in NetBeans 6.9 available.   
  2.   
  3. We would like to stabilize the new infrastructure as much as possible before it will be switch on to be be available by default.You can enable the feature in development build through command line option: -J-Dorg.netbeans.editor.linewrap=true . Do it only with a development build, even if the optoin works in NetBeans 6.9, the new infrastructure is not stable enough there.  
  4.   
  5. So I would like to ask you, if you use a latest development build, run the build with the mentioned option. You can start NetBeans from command line with the option or place the option in the ${nb_dir}/etc/netbeans.conf file (add into netbeans_default_options).  
  6.   
  7. When you started NetBeans with this, there should be Line Wrapping option in the formatter.  
  8.  大小: 51.28 K
尺寸: 500 x 315
浏览: 1619 次
点击打开新窗口浏览全图 
  9. When you find out an issue with it, please report it in our Bugzilla. For such issue the product should be Editor, component Painting & Printing and please mark all reports with the status whiteboard: linewrap so we can easily track them. The tentative plan is to enable this again for M1 of NetBeans 6.10 but this all depends on the additional feedback and testing.  
所以昨天我换过了新版本进行了尝试。只是效果没有想象中的那样好。但,总比不能换行好。这是实际效果:

大小: 8.68 K
尺寸: 290 x 181
浏览: 1595 次
点击打开新窗口浏览全图

只是换行后多了一个回车显示着而且不能消失,看起来有点挫。。

接下来说Editplus,昨天晚上,乔大姐(HonestQiao,乔楚)兴冲冲的在群里说,Editplus支持PCRE的正则了,大家快更新啊,不更新会后悔的。。于是到官方看了一下changelog,然后进行了更新。

再接下来就测试,结果,让人大吃一斤的是,有很多正则条件输进去,立刻就把Editplus给爆了,比如:?\d、.*+?之类的,还有就是.*能够匹配一行,.*?一个也不能匹配。

不过简单的正则匹配还是没问题的(如果你升级了该版本,建议你在正则搜索前,先保存你的代码,否则可能会想哭但是哭不出来)

官方的changeLog: 'Use TR1 regular expression' option ('Preferences'->'General').

据说,最后乔大姐忍不住发邮件去鄙视那位开发者了。




本站采用创作共享版权协议, 要求署名、非商业和保持一致. 本站欢迎任何非商业应用的转载, 但须注明出自"易栈网-膘叔", 保留原始链接, 此外还必须标注原文标题和链接.

Tags: editplus, netbeans

« 上一篇 | 下一篇 »

只显示10条记录相关文章

意外:Editplus可以查看16进制了? (浏览: 48099, 评论: 0)
乔大妈:【插件】史上最强EditPlus插件OpenCTags使用指南--EditPlus开发者必备 (浏览: 31851, 评论: 0)
phpstorm试用 (浏览: 29534, 评论: 2)
scala之hello world调试成功【基于netbeans IDE】 (浏览: 29468, 评论: 0)
JDK最新版本下载及JDK安装与配置 (浏览: 25575, 评论: 0)
netbeans更换jdk路径 (浏览: 24837, 评论: 1)
让Editplus自动格式化css和js (浏览: 24673, 评论: 0)
Editplus 自动检查语法 (浏览: 24618, 评论: 0)
Android 手机上的 Scala 编程 (浏览: 24373, 评论: 0)
EditPlus的一些其他技巧 (浏览: 24124, 评论: 3)

4条记录访客评论

乔楚是PHP手册翻译者吧~

Post by shiny on 2010, October 14, 12:36 PM 引用此文发表评论 #1

我和楼上的一样,也一直在用notepad++

Post by 灰色状态 on 2010, October 13, 11:19 PM 引用此文发表评论 #2

netbeans一个大大的弱点是:没有整个项目的类导航。这点ZEND做得就非常好

Post by 少侠 on 2010, October 13, 12:57 PM 引用此文发表评论 #3

习惯了notepad++

Post by unicac on 2010, October 13, 12:38 PM 引用此文发表评论 #4


发表评论

评论内容 (必填):