Color scheme for JSPs in NetBeans
The following is the content in directory
~/.netbeans/6.1/config/Editors/text/x-jsp/FontsColors/NetBeans/
(Linux) of file
org-netbeans-modules-editor-settings-CustomFontsColors-tokenColorings.xml
which sets the colors in NetBeans for JSP editing. I offer these settings
because I find the default color scheme a bit garish.
++++++++++++++++++++++++++++++++++++++++++++++++++++
<?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 name="mod-enum"/>
<fontcolor name="mod-method">
<font style="bold"/>
</fontcolor>
<fontcolor foreColor="ff003300" name="mod-annotation-type"/>
<fontcolor name="mod-interface"/>
<fontcolor default="default" foreColor="ff330000" name="attribute-value"/>
<fontcolor name="mod-private"/>
<fontcolor default="default" foreColor="ff003300" name="attribute-name"/>
<fontcolor name="mod-protected"/>
<fontcolor name="mod-deprecated" strikeThrough="darkGray"/>
<fontcolor bgColor="ffeceba3" name="mark-occurrences"/>
<fontcolor default="default" foreColor="ff000066" name="tag-directive"/>
<fontcolor name="mod-abstract"/>
<fontcolor default="field" name="mod-field"/>
<fontcolor name="mod-public"/>
<fontcolor name="mod-constructor">
<font style="bold"/>
</fontcolor>
<fontcolor name="mod-local-variable"/>
<fontcolor name="mod-package-private"/>
<fontcolor default="default" foreColor="black" name="symbol">
<font style="bold"/>
</fontcolor>
<fontcolor default="default" name="error" waveUnderlined="red"/>
<fontcolor foreColor="ffa06001" name="mod-parameter"/>
<fontcolor default="default" name="left-curly"/>
<fontcolor default="default" name="right-curly"/>
<fontcolor bgColor="ffd0f0e8" default="default" name="scriptlet-delimiter"/>
<fontcolor name="mod-static">
<font style="italic"/>
</fontcolor>
<fontcolor foreColor="ff9933cc" name="mod-regexp"/>
<fontcolor bgColor="ffd0f0e8" default="default" name="scriptlet"/>
<fontcolor name="mod-class"/>
<fontcolor default="default" foreColor="black" name="jsp-whitespace">
<font style="bold"/>
</fontcolor>
<fontcolor name="mod-unused" waveUnderlined="ff999999"/>
<fontcolor foreColor="ff000066" name="html-tag">
<font style="bold"/>
</fontcolor>
<fontcolor default="comment" name="js-comment-tag">
<font style="bold"/>
</fontcolor>
<fontcolor name="comment"/>
<fontcolor default="html-tag" foreColor="ff000066" name="endtag"/>
<fontcolor bgColor="ffe8f8f0" name="expression-language"/>
</fontscolors>
++++++++++++++++++++++++++++++++++++++++++++++++++++
The main colors I use are in
~/.netbeans/6.1/config/Editors/FontsColors/NetBeans/
file
org-netbeans-modules-editor-settings-CustomFontsColors-tokenColorings.xml
++++++++++++++++++++++++++++++++++++++++++++++++++++
<?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="fffff4f4" name="error" waveUnderlined="red"/>
<fontcolor foreColor="ff330000" name="char"/>
<fontcolor foreColor="ff000066" name="keyword"/>
<fontcolor foreColor="black" name="whitespace"/>
<fontcolor default="keyword" foreColor="ff000033" name="markup-element"/>
<fontcolor default="char" name="number"/>
<fontcolor name="operator"/>
<fontcolor default="identifier" name="field"/>
<fontcolor bgColor="white" foreColor="black" name="default">
<font name="Courier 10 Pitch" size="13" style="plain"/>
</fontcolor>
<fontcolor foreColor="ff330000" name="string"/>
<fontcolor default="default" foreColor="ff330000" name="entity-reference"/>
<fontcolor default="string" foreColor="ff330000"
name="markup-attribute-value"/>
<fontcolor default="identifier" name="method">
<font style="bold"/>
</fontcolor>
<fontcolor foreColor="ff00506c" name="comment"/>
<fontcolor name="identifier"/>
<fontcolor name="separator"/>
<fontcolor default="string" foreColor="ff003300" name="markup-attribute"/>
</fontscolors>
++++++++++++++++++++++++++++++++++++++++++++++++++++
FWIW.
--
Lew