| <!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>File Associations</title> | |
| </head> | |
| <body bgcolor="#FFFFFF"> | |
| <h1 class="Head">File Associations</h1> | |
| <p class="Intro">On the <a class="command-link" href= | |
| 'javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.FileEditors)")'> | |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> <strong>General > Editors > File | |
| Associations</strong></a> preference page, you can add or remove file types recognized by the Workbench. You can also | |
| associate editors with file types in the file types list.</p> | |
| <div class="Topic"> | |
| <h2>File types list</h2> | |
| <ul class="UnorderedList"> | |
| <li class="Item"><strong>Add...</strong>: Adds a new file or file type (extension) to the predefined list. In the | |
| resulting New File Type dialog, type the name of a file or a file extension. If you are adding a file extension, | |
| you must type either a dot or a "*." before the file type (e.g., ".xml" or "*.xml" as opposed to simply | |
| "xml").</li> | |
| <li class="Item"><strong>Remove</strong>: Removes the selected file type from the list</li> | |
| </ul> | |
| </div> | |
| <div class="Topic"> | |
| <h2>Associated editors list</h2> | |
| <ul class="UnorderedList"> | |
| <li class="Item"><strong>Add...</strong>: Adds a new editor to the list of editors associated with the file type | |
| selected above. In the resulting Editor Selection dialog, you can choose an editor to launch either inside the | |
| Workbench (internal) or outside the Workbench (external); click <b>Browse</b> to locate an editor yourself if the | |
| editor you want is not displayed in the list.</li> | |
| <li class="Item"><strong>Remove</strong>: Removes the association between an editor and the file type selected | |
| above. <strong>Note:</strong> Any editor that is bound by content type may not be removed from this list. | |
| Currently, there is no mechanism available to remove these editors.</li> | |
| <li class="Item"><strong>Default</strong>: Sets the selected editor as the default editor for the file type | |
| selected above. The editor moves to the top of the Associated Editors list to indicate that it is the default | |
| editor for that file type.</li> | |
| </ul> | |
| </div> | |
| </body> | |
| </html> |