| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en"> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"></script> |
| <title>Team File Content</title> |
| |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <H1 CLASS="Head"> Team File Content</H1> |
| <P CLASS="Intro"> On the |
| |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.team.ui.TextPreferences)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> |
| <strong>Team > File Content</strong></a> |
| |
| preference page, you can associate |
| file names or extensions with the type of data the file contains. The two choices |
| for file content type are ASCII and Binary. Repository providers such as CVS |
| can then use this information to provide content type appropriate behavior. |
| For example, for ASCII files, CVS ensures that line terminators conform to those |
| of the OS platform.</p> |
| <P CLASS="Intro">Entries are added to the File Content page in two ways. The first |
| is through contributions from workbench plug-ins. Tools integrated into the |
| workbench provide the workbench with the file content types for file extensions |
| specific to the tool. The workbench itself also defines the file content type |
| for file extensions that are common and appear frequently in the workbench (e.g. |
| html,.png, etc.).</p> |
| <P CLASS="Intro">The second method is for users to add file content types explicitly |
| on the File Content preference page. To do so, you can simply click on |
| the <strong>Add Extension</strong> button and enter an extension or click on |
| the <strong>Add Name</strong> button and add a name.. Following this, you can |
| toggle the type associated with the name or extension by selecting the entry |
| for the extension in the table and clicking <strong>Change</strong>. Entries |
| can be removed from the list by selecting them and clicking <strong>Remove</strong>. |
| Only those entries that were manually added can be removed. Entries contributed |
| through the plug-in manifest can only be changed.</p> |
| |
| <h3 class="related">Related tasks</h3> |
| <a href="../tasks/tasks-cvs-11.htm">Setting the CVS keyword substitution mode</a> |
| |
| </BODY> |
| </HTML> |