Setting colors that affect the code editor are configured in multiple areas but user don’t have to memorize this list and is very easy for eclipse to get created. Setting the non-color related portions of code formatting is done in only one place called
Code Style Formatter. In order to look at various coloring options in JDT follow the procedure mentioned.
Click on
Window menu -> Select
Preferences as shown in the image below.
Now, a popup window appears known as
Preferences providing some options, type colors in the
filter box available. Select
Colors and Fonts from
Appearance under
General section. Click on
Java from the box available on the left side of the window in order to see the options for editing default java editors for text fonts as shown in the image below.
Click
Editors section in order to view the settings for editors and there are three levels of settings available in Editors section namely
Text Editors,
Annotations and
Quick Diff as shown in the image below.
Clicking the parent one i.e.
Text Editor will provide a list of
Appearance for various options as shown in the image above.
In order to view the language specific settings, click on
Java which again contains some levels of settings, click on
Syntax Coloring under the
Editor setting as shown in the image below.
To the left side user can find a box provided with list of Elements for
Java,
Javadoc and
Comments select the preferred element and check the color settings.