Sharing Preferences

 

Figure 22.78. Controlling the Storage of the Preferences

Controlling the Storage of the Preferences

By default all the settings are global and are stored in the user home directory.

The values from each preference page can also be stored in the current project file. This allows you to create and share with your team an <oXygen/> project already configured. For instance you may decide that the default schema associations and catalogs must be shared. In this case you simply click the radio button "Project options", edit the values and then save your project. If you want to drop a option page from being stored into the project, you select the radio button "Global options".

[Note]Note

The project settings have precedence over the global ones.

For instance, if you have changed a global option value, let say the line width used for pretty-print, and then you load a project that also defines a different line width for the pretty-print, <oXygen/> will use the value from the project.

[Note]Note

If you change the global options and decide to move the current page to the project level, you need to press Apply to save your current changes. Otherwise, the current changes will be lost from the global options.

[Note]Note

If you select "Global options" on a page that was at the project level, then the option values are removed from the project file when the project is saved.