在净豆的词包裹 [英] Word Wrap in Net Beans

查看:76
本文介绍了在净豆的词包裹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Netbeans很棒,但没有办法在其中包装文本(或者希望我还没有找到它)。有没有办法做到这一点,如果没有,是否有任何类似的良好的Java IDE与此功能(希望也免费)。

Netbeans is great but there's no way to wrap text in it (or hopefully I haven't found it yet). Is there any way to do this, and if not, is there any similarly good IDE for Java with this functionality (hopefully free as well).

推荐答案

你可以在Netbeans中使用自动换行。

You can use word wrap in Netbeans.

将以下内容添加到netbeans.conf(netbeans_installation_path / etc / netbeans.conf,默认为/ etc / netbeans .conf下的.conf):

Add the following to netbeans.conf (netbeans_installation_path/etc/netbeans.conf, by default /etc/netbeans.conf under linux):

-J-Dorg.netbeans.editor.linewrap=true

到第六行所以它看起来像这样:

to the sixth line so it looks like this:

netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dorg.netbeans.editor.linewrap=true"

并重新启动Netbeans。

and restart Netbeans.

在工具 - >选项 - >编辑器中设置换行选项>格式化。

Set the Line Wrap option in Tools->Options->Editor->Formating.

在Netbeans 6.9和7中适合我的工作

Works fine for me in Netbeans 6.9 and 7

这篇关于在净豆的词包裹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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