blob: c63d1e14b69de7448db508de44a4572ad4ac7fac [file] [log] [blame]
kprice159fa582006-05-08 21:30:45 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--Arbortext, Inc., 1988-2005, v.4002-->
3<!DOCTYPE task PUBLIC "-//OASIS//DTD DITA Task//EN"
4 "..\dtd\task.dtd">
5<task id="tcontenttype" xml:lang="en-us">
6<title>Associating editors with additional files types</title>
7<shortdesc></shortdesc>
8<prolog><metadata>
kprice9623e9d2007-05-03 03:43:05 +00009<keywords><indexterm>content types<indexterm>mapping file extensions</indexterm></indexterm>
10<indexterm>file extensions<indexterm>mapping content types</indexterm></indexterm>
11<indexterm>file types<indexterm>editors</indexterm></indexterm>
kprice159fa582006-05-08 21:30:45 +000012</keywords>
13</metadata></prolog>
14<taskbody>
15<context><p>You can associate certain editors with a file type by clicking
16on <menucascade><uicontrol>Window</uicontrol><uicontrol>Preferences</uicontrol>
17<uicontrol>General</uicontrol><uicontrol>Editors</uicontrol><uicontrol>File
18Association</uicontrol></menucascade> and setting up the associations in the
19File Associations Window.</p><p>Some Eclipse-based editors, however, will
20only recognize a file based on the contents of the file. Consequently, if
21you want to associate an additional file type with some editors, you may have
22to first map the content type with its file extension. To map a content type
23with a file extension, complete the following steps: </p><ol>
24<li>Click <menucascade><uicontrol>Window</uicontrol><uicontrol>General</uicontrol>
25<uicontrol>Content Types</uicontrol></menucascade>. The Content Type window
26appears. </li>
27<li>Select a content type in the Content Type window, and then select <b>Add</b> .
28The Define a New File Type window appears.</li>
29<li>Type the name of the file type, and then click <b>OK</b>.</li>
30</ol></context>
31</taskbody>
32</task>