+ -
当前位置:首页 → 问答吧 → zend studio for eclipse怎么不自动换行的

zend studio for eclipse怎么不自动换行的

时间:2008-11-04

来源:互联网

代码太长了老要拉动滚动条,找了好久不知道去哪调

作者: yhttech   发布时间: 2008-11-04

不自动换行就是要强制大家养成好的编程习惯,如果代码横向太长,那就应该看看自己的代码规范了

作者: peacock   发布时间: 2008-11-28

晕,但是问题是,有语句不长不行啊。比如,定义一个数组,一个SQL语句等等。
即使,通过手工换行后,变成不长后,一用自动格式化后,又是一条长语句了。

作者: boydreaming   发布时间: 2009-04-22

本帖最后由 yl00112233 于 2009-5-10 14:47 编辑

都这样,但也没办法呀。











________________________________________
我爱藏獒   优酷电影  在线电影   美女

作者: yl00112233   发布时间: 2009-05-05

啊哦!这个是eclipse的本身缺陷,没有这个功能!!
但是你可以使用在线安装http://ahtik.com/eclipse-update/ 这个插件来拥有这个自动换行的功能。
安装成功后,右键就可以看到这个Virtual Word Wrap,以下是介绍
Virtual (a.k.a. "soft") word wrap feature. Wordwrap plugin will break long lines without modifying underying file physically. New menu item "Virtual Word Wrap" is added to editor context menu. WARNING! Behaviour of this feature is experimental! Currently it is wrapping properly BUT will make line numbering, active line highlight etc rendering damaged. All damaged line numbers, line highlights etc will be OK after disabling wrap for active editor! The final version will (hopefully) work without any troubles.
更多的zend studio视频教程欢迎前往:http://www.zendstudio.net/zend-studio-tutorial/

作者: gently   发布时间: 2009-05-07

用Ctrl+W,试试看

作者: grb12508   发布时间: 2009-06-16

热门下载

更多