Syntax Highlight Not Available in Eclipse Plugin
Problem
I associated the .ext extension with Oxygen XML Developer in Eclipse.
Why does an .ext file opened with the Oxygen XML Developer plugin not
have syntax highlight?
Solution
Associating an extension with Oxygen XML Developer in Eclipse versions 3.6-3.8, 4.2-4.6 requires three steps:
- Associate the
.extextension with the Oxygen XML Developer plugin..- Open the Preferences dialog box and go to .
- Add
*.extto the list of file types. - Select
*.extin the list by clicking it. - Add Oxygen XML Developer to the list of Associated editors and make it the default editor..
- Associate the
.extextension with the Oxygen XML content type.- Open the Preferences dialog box and go to .
- Add
*.extto the File associations list for the content type.
- 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 Oxygen XML Developer plugin.