简体   繁体   English

NetBeans 6.9 Beta LineWrap

[英]NetBeans 6.9 Beta LineWrap

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

This command, I have read here , turns the line wrap feature on. 我在这里阅读此命令,打开换行功能。 What I need to know, however, where can I put this command in order to turn it on? 但是,我需要知道的是,在哪里可以打开此命令? I am using NetBeans 6.9 on Mac OS X 10.6. 我在Mac OS X 10.6上使用NetBeans 6.9。 Thanks in advance for any help! 在此先感谢您的帮助!

You can use this on the command line when you start NetBeans... 启动NetBeans时,可以在命令行上使用它。

That would look something like this 看起来像这样

/Applications/NetBeans/NetBeans\ 6.9\ Beta.app/Contents/Resources/NetBeans/bin/netbeans -J-Dorg.netbeans.editor.linewrap=true

Or, you can add it to the netbeans_default_options variable in the file 或者,您可以将其添加到文件中的netbeans_default_options变量中

Applications/NetBeans/NetBeans\ 6.9\ Beta.app/Contents//Resources/NetBeans/etc/netbeans.conf

OK, I have found it. 好,我找到了。 On Mac OS X, you have to control-click the Netbeans app icon, click on 'Show Package Contents', go to Contents/Resources/NetBeans/etc/ and modify the netbeans.conf file. 在Mac OS X上,您必须按住Control键单击Netbeans应用程序图标,单击“显示包内容”,转到Contents / Resources / NetBeans / etc /并修改netbeans.conf文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM