How can I configure default preferences for Oxygen XML editor?

You can create a new default preferences file for the XML editor to import by default.

Description

The preferences for the Oxygen XML Editor or Author plugins are stored in the workspace. Each time you create a new workspace, you need to reimport your preferences into the workspace or reset your preferences manually.

Solution

  1. In IXIA CCMS Desktop, configure the Oxygen preferences as desired in: Window > Preferences.
  2. Click Apply to apply the changes.
  3. Click oXygen XML Editor or oXygen XML Author.
  4. Click Export Global Options to export the preferences.
  5. Save the file in the %EclipseDir%/configuration folder.
  6. Open the file in a text editor and clean the file so only your customized preferences remain (delete factory default preferences) and save the file.

To configure Oxygen to import a custom preferences file:

  1. Locate the config.ini file in the %EclipseDir%/configuration folder and open it in a text editor.
  2. Set the com.oxygenxml.default.options property with the path to your custom preferences file by adding the following line to the file:
    com.oxygenxml.default.options=file\:{path to oXygen preferences file}
  3. Save the file.
For example, if your custom preferences file was called OxygenPreferences.xml and you saved it in the %EclipseDir%/configuration folder, then the property would be set as follows since it is in the same folder as the config.ini file:
com.oxygenxml.default.options=file\:OxygenPreferences.xml

Information from the Oxygen website: http://www.oxygenxml.com/doc/ug-editorEclipse/index.html#topics/default-options.html.