Setting the content type of a file extension

CVS repositories distinguish between files that contain ASCII data and those that do not. For ASCII files, additional helpful functionality is available. This includes:

Certain file types invariably contain either ASCII data or binary data. For example, *.txt files usually contain ASCII data, and *.exe files usually contain binary data. Eclipse comes with a pre-defined set of file types, which you may add to or modify.

To set the content type associated with a file extension:

  1. Open the command link Team > File Content preference page. This page displays a list of file extensions and content type (ASCII or Binary) for file extensions whose content type is known.
  2. To add a file extension, click the Add Extension button and enter the file extension in the text prompt that appears. Once OK is clicked, the extension will be added to the list with a content type of ASCII.

  3. To change the content type for an existing file extension, select the file extension entry and click the Change button. This will toggle the type from ASCII to Binary or vice versa.
  4. To remove a file extension, select the file extension entry and click the Remove button.

Related concepts
Team programming with CVS

Related reference
CVS