Skip to content


Custom Fonts and Colors for Netbeans

I like TextMate and I like Netbeans. So I created a custom fonts and colors profile for Netbeans which is *similar* to TextMate.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontscolors PUBLIC 
    "-//NetBeans//DTD Editor Fonts and Colors settings 1.1//EN"
    "http://www.netbeans.org/dtds/EditorFontsColors-1_1.dtd">
<fontscolors>
    <fontcolor bgColor="white" foreColor="black" name="default">
        <font name="Monaco" size="12"/>
    </fontcolor>
    <fontcolor bgColor="ff990000" foreColor="white" name="error"/>
    <fontcolor foreColor="ff006f00" name="char"/>
    <fontcolor foreColor="ff036a07" name="string"/>
    <fontcolor foreColor="blue" name="keyword">
        <font style="bold"/>
    </fontcolor>
    <fontcolor foreColor="black" name="whitespace"/>
    <fontcolor foreColor="ff0000cd" name="number"/>
    <fontcolor foreColor="ff0066ff" name="comment">
        <font style="italic"/>
    </fontcolor>
    <fontcolor name="identifier"/>
    <fontcolor name="operator"/>
</fontscolors>

To install, just put this in:
~/.netbeans/6.0m9/config/Editors/FontsColors/TextMate-MacClassic/org-netbeans-modules-editor-settings-CustomFontsColors.xml

Posted in Java, OS X, Ruby, Software Development.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. James Branam says

    Hi,
    My name is James Branam and I’m the NetBeans Community Docs Manager. Your blog entry would make a fantastic entry (Tips & Tricks) for our Community Docs wiki (http://wiki.netbeans.org/wiki/view/CommunityDocs). Would you be willing to contribute it? If you need any help or have any questions, please contact me at james.branam@sun.com. I look forward to hearing from you.



Some HTML is OK

or, reply to this post via trackback.