Syntax Highlight Not Available in Eclipse Plugin

Problem

I associated the .ext extension with Syncro SVN Client in Eclipse. Why does an .ext file opened with the Syncro SVN Client plugin not have syntax highlight?

Solution

Associating an extension with Syncro SVN Client in Eclipse versions 3.6-3.8, 4.2-4.6 requires three steps:

  1. Associate the .ext extension with the Syncro SVN Client plugin..
    1. Open the Preferences dialog box (OptionsPreferences) and go to GeneralEditorsFile Associations.
    2. Add *.ext to the list of file types.
    3. Select *.ext in the list by clicking it.
    4. Add Syncro SVN Client to the list of Associated editors and make it the default editor..
  2. Associate the .ext extension with the Oxygen XML content type.
    1. Open the Preferences dialog box (OptionsPreferences) and go to GeneralContent Types.
    2. Add *.ext to the File associations list for the TextXMLSyncro SVN Client content type.
  3. Press the OK button in the Eclipse preferences dialog box.

Result: Now when an *.ext file is opened the icon of the editor and the syntax highlight should be the same as for XML files opened with the Syncro SVN Client plugin.

Was this helpful?