# Configure JSEclipse

After installing the JSEclipse plugin, you can configure it in order to match your personal style. Like most of the Eclipse configuration options, the JSEclipse options can be found in the main Eclipse preferences window, as a category labeled JSEclipse. To open the preferences window from the Eclipse workbench, select Window > Preferences.

To access the JSEclipse preferences page, select the JSEclipse category. On the page that is opened you can define the colours used for syntax highlighting:

The controls on page allow setting the colour for the following properties:

- The delay for the code folding pop-up

- Whether to automatically fold comments and functions

- Whether to display occurrences or not

- To replace tabs with only one space

- Whether to enable error reporting or not.

In the Syntax Coloring section you can define what colors to use when highlighting JavaScript , JavaDoc code or comments:

First select the desired item in the tree on the left, for each of the three main categories, then define the color to use.

To define the colour for each of the items, click on its corresponding button:
. A new window will open, displaying the colour palette from which a new colour can be selected:

After a new colour is selected, click OK to apply it. The coloured rectangle displayed as a button will change in accordance with the selected colour.

Using this preferences page you can adapt JSEclipse to the syntax highlighting style you prefer.

The last section in the JSEclipse preferences handles the code templates. In this section you can add, edit or remove a template.

This user interface allows you to:

- See the existing plugins and their main properties - name, description, auto-complete status in the main grid. Unchecked templates are disabled and not used.

- Add a new code template, by clicking on the New button. Another dialog box loads, allowing you to specify the template name, code and descriptions:

- The same interface is loaded when you select one of the templates in the list and click the Edit button. The fields will be filled with the selected templates properties.

- If you already have an external XML file with code templates and want to add them to JSEclipse, click the Import button and browse to your XML file. The templates will be available for use.

- If you need to take your templates with you on another installation, it is just as easy: click Export and enter a filename.

Using the preferences pages you can configure JSEclipse to adapt to your particular work style.