blob: 4d0fbd5095a83ed850ad952cffae82e677848f74 [file] [log] [blame]
<!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=utf-8">
<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 &gt; 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 can then use
this information to provide content type appropriate behavior.</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>
</body>
</html>