2.5 Configuring Project Properties

2.5.1 Introduction
2.5.2 Setting Key Map
2.5.3 Setting Backup
2.5.4 Setting Xml Display Properties

2.5.1 Introduction

Select Edit Project Properties... in the Tools menu to configure project properties.

Figure 2.5.1 Tools>Project Properties

A Project Properties... window is opened. The General tab is selected by default.

Figure 2.5.2 Project Properties Window

2.5.2 Setting Key Map

Select the keymap from a choice list of Default and Emacs.

Figure 2.5.3 KeyMap Choice List

2.5.3 Setting Backup

To save a project periodically after a specified period of time click in the Backup checkbox. Select the time period to save the poject after with the slider.

Figure 2.5.4 Backup Frame

2.5.4 Setting Xml Display Properties

Click on the XML tab to configure HTTP Proxy, XML style, font, background color and foreground color properties, and Validate Schema option.

Figure 2.5.5 Xml Tab in Project Properties Window

Select the Style tab to set tag style. Click in the radio button corresponding to the tag style to choose. Click on the Apply button.

Figure 2.5.6 Style Tab Frame

Select the Settings tab to configure XML display properties.

Figure 2.5.7 Settings Tab Frame

From the Elements choice list select a element to which display properties are to be applied. For example, select the 'Start tag'. The selected element is displayed in the Settings field. Click the Change Font... button to edit the font properties.

Figure 2.5.8 Setting Font

The Select Font window opens up. Select a font name from the Font Name choice list. Select a font size from the Font Size choice list. Select a font style from the Font Style radio buttons. The Font Preview text area displays a font with the selected font properties. Click on the OK button.

Figure 2.5.9 Selecting Font

Apply the selected font with the Apply button.

Figure 2.5.10 Applying the Selected Font

 

The selected font properties are applied to the selected element in the XML document when the document is closed and re-opened or when a new document is created.

To change the foreground select an element from the Elements choice list and click the Change Foreground... button. For example select the 'Attribute' element.

Figure 2.5.11 Change Foreground Button

Select a foreground color from the Select Color window and click on OK.

Figure 2.5.12 Selecting Color

Apply the foreground settings with the Apply button.

Figure 2.5.13 Applying Selected Foreground Color

The selected foreground settings are applied to the selected element in the XML document when the document is closed and re-opened or when a new document is created.

To change the background select an element from the Elements choice list and click the Change Background... button. For example select the 'End tag' element.

Figure 2.5.14 Change Background Button

Select a background color from the Select Color window and click on OK.

Figure 2.5.15 Selecting Color

Apply the background settings with the Apply button.

Figure 2.5.16 Applying Selected Background Color

The selected background settings are applied to the selected element in the XML document when the document is re-opened or when a new document is created. Close and re-open the XML document or create a new document. The document opens with the modified settings. If a new document is created the document gets created with modified settings.

Figure 2.5.17 Document with Applied Background Color

To validate the XML Schema for the XML document, select Tools>Edit Project Properties>XML>Options and check the Validate Schema checkbox. Click on the Apply button.

Figure 2.5.18 Validate Schema

A Schema tab gets added when a document is closed and re-opened, or when a new document is created. Select the Schema tab. The XML Schema gets displayed. The validation errors for the XML Schema, if any, also get displayed.

Figure 2.5.19 Validate Schema