blob: 87c3fc7f21d3b6fb69c6f190fac8f047fe769271 [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html lang="en">
<HEAD>
<meta name="copyright" content="Copyright (c) Simeon Andreev and others 2022. 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>Large File Associations</title>
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1 CLASS="Head">
Large 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.LargeFileAssociations)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link">
<strong>General &gt; Editors &gt; Large File Associations</strong></a>
preference page, you can specify which editors
are used to open large files. You can associate file extension types
and file sizes to an editor. Upon opening a file with the given extension,
if the file is above the specified size, the associated editor will be used to open the file.
When multiple pairs of editor and file size are specified for the extension of the file, the pair with the largest matching file size applies.</p>
<DIV CLASS="Topic">
<h2>
File types list</h2>
<UL CLASS="UnorderedList">
<LI CLASS="Item"> <strong>Add...</strong>: Adds a new file
extension to the list of associated file types. In the resulting <b>Add File Type dialog</b>,
type the file extension (e.g. simply &quot;xml&quot; or as a pattern &quot;*.txt&quot;).</LI>
<LI CLASS="Item"><strong> Remove</strong>: Removes the selected file
type from the list, along with all its associated editors and sizes.</LI>
</UL>
</DIV>
<DIV CLASS="Topic">
<h2>
Associated editors list</h2>
<UL CLASS="UnorderedList">
<LI CLASS="Item"> <strong>Add...</strong>: Adds a new editor and file size to the
list of editors associated with the file type selected above. You can
choose to be asked for an editor, upon opening a large file of the selected type.
Or, you can choose the editor with which to open the file type beforehand.
When choosing an editor in advance (by enabling and clicking the <b>Choose Editor</b> link),
you can choose an editor to launch either inside
the Workbench (internal) or outside the Workbench (external); click <b>Browse</b>
in the now open <b>Editor Selection</b> dialog to locate an editor yourself
if the editor you want is not displayed in the list.</LI>
<LI CLASS="Item"> <strong>Edit...</strong>: Edit the selected editor
and file size for the file type selected above. When editting an association
which specifies an editor, you can click on the editor link to change the associated editor.</LI>
<LI CLASS="Item"> <strong>Remove</strong>: Removes the association between
an editor, file size and the file type selected above.</LI>
</UL>
</DIV>
</BODY>
</HTML>