| <!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"> |
| <title>Editing files outside the Workbench</title> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script> |
| </HEAD> |
| |
| <BODY BGCOLOR="#ffffff"> |
| <H1>Editing files outside the Workbench</H1> |
| <P>To edit a Workbench resource outside the Workbench:</P> |
| <ol> |
| <li>Navigate in the file system to the Workbench's installation directory. Go |
| into the workspace directory and open the file that you want to edit with |
| the external editor.</li> |
| <li>Edit the file as needed. Save and close it as usual.</li> |
| <li><em>Important</em>: Go back to the Workbench, right-click the edited file |
| in one of the navigation views, and select <b>Refresh</b> from the pop-up |
| menu. The Workbench will perform any necessary build or update operations |
| to process the changes that you made outside the Workbench.</li> |
| </ol> |
| <p><em>Tip</em>: If you work with external editors regularly, you may want to |
| enable auto-refresh. This can be done by opening the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.Workspace)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.png" alt="command link"> |
| <b>General > Workspace</b></a> preference page, and checking |
| the <strong>Refresh using native hooks or polling</strong> or <strong>Refresh on access</strong> option. |
| When at least one of them is enabled, any changes made by external editors will be automatically discovered |
| by the Workbench. Depending on the platform this may not happen immediately for <strong>Refresh using native hooks or polling</strong>.</p> |
| <p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br> |
| <a href="../concepts/concepts-6.htm">Editors</a><br> |
| <a href="../concepts/concepts-6a.htm">External editors</a> |
| </p> |
| |
| <p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| <a href="tasks-46.htm">Opening files for editing</a><br> |
| <a href="tasks-51.xhtml">Associating editors with file types</a> |
| </p> |
| |
| |
| |
| </BODY> |
| </HTML> |