Associating editors with additional files types

You can associate editors with a file type.

Procedure

  1. Associate an editor with a file type.
    1. Click Window > Preferences > General > Editors > File Associations.
    2. Configure the associations in the File Associations window.
  2. If you cannot complete step 1 because your Eclipse-based editor recognizes only a file that is based on the contents of the file, you might need to first map the content type with its file extension before you can associate an additional file type with the editor.
    1. Map a content type with a file extension.
      1. Click Window > Preferences > General > Content Types. The Content Type window displays.
      2. Select a content type in the Content Type window, and then click Add. The Define a New File Type window displays.
      3. Type the name of the file type, and then click OK.
    2. Complete step 1 to associate an editor with a file type.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tcontenttype.html