The File Types tab allows you to associate certain file types with your preferred editor when opened in PureCM. Press the <New> button or amend existing associations using the <Properties> button. Associations can be removed if necessary using the <Delete> button.
Choose the Type from the drop down list and enter the Subtype.
Enter a preprocessing command in the 'Preprocess Command' field. This command will be run before the file contents are displayed within the PureCM Editor or Diff Tool. '%1' is replaced with the original file path and '%2' is replaced with the new file path.
Tick the 'This file is xml and needs to be formatted' checkbox if the file content is unformatted xml. When this checkbox is ticked the xml will be properly indented before the contents are displayed within the PureCM Editor or Diff Tool.
Select the 'Editors' tab and use the arrow buttons to move your preferred editor to the top of the list. If your preferred editor is not listed, it can be added using the <New> button.
Alternative 'Diff Apps' and 'Merge Apps' for this file type may be specified in the same way. For a Diff App the '%1' parameter is used for the base file and '%2' is used for the new file. For a Merge App '%1' is used for the base file, '%2' for the server file, '%3' for the local file, '%4' for the saved merge file, '%5' for the server title, '%6' for the local title, and finally '%7' for the merge file title.
'Diff Options' allows you customise the Diff Tool by adding line numbers and specifying how whitespace, case and tabs are handled for this file type. The 'Use intraline' setting specifies the percentage of a line that should match over which the whole line is marked as modified. If less than the percentage is modified then only the individual edits are marked.
'Diff Fonts' allows you to specify the colours and fonts used in the Diff Tool for this file type. These can be individually modified or you can select one of the standard schemes from the drop down list.
In a similar way the colours and fonts used in the Resolve Tool for this file type can also be modified.
Press <Ok> when completed.