代码改变世界

Netbeans6.8 主题美化及去掉红线

2010-01-24 20:09  敏捷的水  阅读(3013)  评论(0编辑  收藏  举报

一、去掉红线

打开C:\Users\jack\.netbeans\6.8\config\Editors\Preferences\org-netbeans-modules-editor-settings-CustomPreferences.xml。

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE editor-preferences PUBLIC "-//NetBeans//DTD Editor Preferences 1.0//EN" 
"http://www.netbeans.org/dtds/EditorPreferences-1_0.dtd">
<editor-preferences>
    <entry javaType="java.lang.String" name="code-template-expand-key" xml:space="preserve">
        <value><![CDATA[TAB]]></value>
    </entry>
<entry javaType="java.lang.Boolean" name="text-limit-line-visible" xml:space="preserve">
    <value>false</value>
    </entry>
</editor-preferences>

二、TextMate主题

http://blog.huikau.com/2008/04/28/aloha-color-theme-for-netbeans-61/

下载主题文件

After the download, open NetBeans and go to Tools > Plugins. In the Download tab, add the AlohaTheme.nbm and install. To use it, just select it from the Fonts & Colors profile “Aloha.”