| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 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"> |
| <title> |
| File actions |
| </title> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| </head> |
| <body> |
| <h1> |
| File actions |
| </h1> |
| <p> |
| File menu commands: |
| </p> |
| <table border="1" cellspacing="0" cellpadding="5" summary="File actions"> |
| <tbody> |
| <tr> |
| <th> |
| <p> |
| Name |
| </p> |
| </th> |
| <th> |
| <p> |
| Function |
| </p> |
| </th> |
| <td> |
| <strong>Keyboard Shortcut</strong> |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" valign="top"> |
| <p> |
| New |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Create a Java element or a new resource. Configure which elements are shown in the submenu in <strong>Window > Customize Perspective</strong>. In a Java perspective, by default |
| action for creating a <a href="ref-wizard-java-project.htm">project</a>, <a href="ref-wizard-package.htm">package</a>, <a href="ref-wizard-class.htm">class</a>, <a href="ref-wizard-interface.htm">interface</a>, <a href="ref-wizard-enum.htm">enum</a>, <a href="ref-wizard-annotation.htm">annotation</a>, <a href="ref-wizard-source-folder.htm">source |
| folder</a>, Java working set, JUnit test, file and folder are available. |
| </p> |
| </td> |
| <td> |
| Alt + Shift + N |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td align="left" valign="top"> |
| <p> |
| Open File |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Opens a file from the file system in an editor. |
| </p> |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Close |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Close the current editor. If the editor contains unsaved data, a save request dialog will be shown. |
| </p> |
| </td> |
| <td> |
| Ctrl + W |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Close All |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Close all editors. If editors contains unsaved data, a save request dialog will be shown. |
| </p> |
| </td> |
| <td> |
| Ctrl + Shift + W |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Save |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Save the content of the current editor. Disabled if the editor does not contain unsaved changes. |
| </p> |
| </td> |
| <td> |
| Ctrl + S |
| </td> |
| </tr> |
| <tr> |
| <td align="left" valign="top"> |
| <p> |
| Save As |
| </p> |
| </td> |
| <td align="left" valign="top"> |
| <p> |
| Save the content of the current editor under a new name. |
| </p> |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Save All |
| </td> |
| <td> |
| Save the content of all editors with unsaved changes. Disabled if no editor contains unsaved changes. |
| </td> |
| <td> |
| Ctrl + Shift + S |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Revert |
| </td> |
| <td> |
| Revert the content of the current editor back to the content of the saved file. Disabled if the editor does not contain unsaved changes. |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Move |
| </td> |
| <td> |
| Move a resource. Disabled on Java Elements. To move Java elements use <strong>Refactor > Move</strong> (with updating all references to the file) or <strong><a href= |
| "ref-menu-edit.htm">Edit</a> > Cut / Paste</strong> (no updating of references). |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Rename |
| </td> |
| <td> |
| Renames a resource. Disabled on Java Elements. To rename Java elements use <strong>Refactor > Rename</strong> (with updating all references to the file). |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Refresh |
| </td> |
| <td> |
| Refreshes the content of the selected element with the local file system. When launched from no specific selection, this command refreshes all projects. |
| </td> |
| <td> |
| F5 |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Convert Line Delimiters To |
| </td> |
| <td> |
| Convert the line delimiters of all the text files in the selection to the selected delimiter kind. |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Print |
| </td> |
| <td> |
| Prints the content of the current editor. Enabled when an editor has the focus. |
| </td> |
| <td> |
| Ctrl + P |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Switch Workspace |
| </td> |
| <td> |
| Switch to another workspace. |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Restart |
| </td> |
| <td> |
| Restarts the application. |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr> |
| <td> |
| Import |
| </td> |
| <td> |
| Opens the import wizard dialog. JDT does not contribute any import wizards. |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Export |
| </td> |
| <td> |
| Opens the export wizard dialog. JDT contributes the <a href="ref-export-jar.htm">JAR file export wizard</a> and the <a href= |
| "ref-export-javadoc.htm">Javadoc generation wizard</a>. |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Properties |
| </td> |
| <td> |
| Opens the property pages of the select elements. Opened on Java projects the <a href="ref-properties-build-path.htm">Java Build Path</a> page and the <a href= |
| "ref-dialog-javadoc-location.htm">Javadoc Location page</a> are available. For JAR archives, configure the JAR's <a href="ref-properties-source-attachment.htm">Source Attachment</a> and <a |
| href="ref-dialog-javadoc-location.htm">Javadoc Location</a> here. |
| </td> |
| <td> |
| Alt + Enter |
| </td> |
| </tr> |
| <tr align="left" valign="top"> |
| <td> |
| Exit |
| </td> |
| <td> |
| Exit Eclipse |
| </td> |
| <td> |
| |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 class="related">Related concepts</h3> |
| <a href="../concepts/concept-jdt.htm">Java development tools (JDT)</a> |
| <h3 class="related">Related tasks</h3> |
| <a href="../tasks/tasks-32.htm">Creating JAR files</a> |
| <h3 class="related">Related references</h3> |
| <a href="ref-wizard-java-project.htm">New Java project wizard</a><br> |
| <a href="ref-wizard-package.htm">New Java package wizard</a><br> |
| <a href="ref-wizard-class.htm">New Java class wizard</a><br> |
| <a href="ref-wizard-enum.htm">New Java enum wizard</a><br> |
| <a href="ref-wizard-interface.htm">New Java interface wizard</a><br> |
| <a href="ref-wizard-annotation.htm">New Java annotation wizard</a><br> |
| <a href="ref-export-jar.htm">JAR file exporter</a><br> |
| <a href="ref-export-javadoc.htm">Javadoc generation</a><br> |
| <a href="ref-dialog-javadoc-location.htm">Javadoc location properties</a><br> |
| <a href="ref-properties-build-path.htm">Java build path properties</a><br> |
| <a href="ref-properties-source-attachment.htm">Source attachment properties</a> |
| </body> |
| </html> |
| |