| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | |
| <meta http-equiv="Content-Style-Type" content="text/css"> | |
| <meta name="GENERATOR" content="Mozilla/4.76 [en] (Windows NT 5.0; U) [Netscape]"> | |
| <title> | |
| Edit actions | |
| </title> | |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> | |
| </head> | |
| <body> | |
| <h1> | |
| Edit actions | |
| </h1> | |
| <p> | |
| Edit menu commands shown when a Java Editor is visible: | |
| </p> | |
| <table border="1" cellspacing="0"> | |
| <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> | |
| Undo | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Revert the last change in the editor | |
| </p> | |
| </td> | |
| <td> | |
| Ctrl + Z | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Redo | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Revert an undone change | |
| </p> | |
| </td> | |
| <td> | |
| Ctrl + Y | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Cut | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Copies the currently selected text or element to the clipboard and removes the element. On elements, the remove is not performed before the clipboard is pasted. | |
| </p> | |
| </td> | |
| <td> | |
| Ctrl + X | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Copy | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Copies the currently selected text or elements to the clipboard | |
| </p> | |
| </td> | |
| <td> | |
| Ctrl + C | |
| </td> | |
| </tr> | |
| <tr> | |
| <td align="left" valign="top"> | |
| <p> | |
| Paste | |
| </p> | |
| </td> | |
| <td align="left" valign="top"> | |
| <p> | |
| Paste the current content as text to the editor, or as a sibling or child element to the a currently selected element. | |
| </p> | |
| </td> | |
| <td> | |
| Ctrl + V | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Delete | |
| </td> | |
| <td> | |
| Delete the current text or element selection. | |
| </td> | |
| <td> | |
| Delete | |
| </td> | |
| </tr> | |
| <tr align="left" valign="top"> | |
| <td> | |
| Select All | |
| </td> | |
| <td> | |
| Select all the editor content.. | |
| </td> | |
| <td> | |
| Ctrl + A | |
| </td> | |
| </tr> | |
| <tr align="left" valign="top"> | |
| <td> | |
| Find / Replace | |
| </td> | |
| <td> | |
| Open the Find / Replace dialog. Editor only. | |
| </td> | |
| <td> | |
| Ctrl + F | |
| </td> | |
| </tr> | |
| <tr align="left" valign="top"> | |
| <td> | |
| Find Next | |
| </td> | |
| <td> | |
| Finds the next occurrence of the currently selected text. Editor only. | |
| </td> | |
| <td> | |
| Ctrl + K | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Find Previous | |
| </td> | |
| <td> | |
| Finds the previous occurrence of the currently selected text. Editor only. | |
| </td> | |
| <td> | |
| Ctrl + Shift + K | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Incremental Find Next | |
| </td> | |
| <td> | |
| Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only. | |
| </td> | |
| <td> | |
| Ctrl + J | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Incremental Find Previous | |
| </td> | |
| <td> | |
| Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only. | |
| </td> | |
| <td> | |
| Ctrl + Shift + J | |
| </td> | |
| </tr> | |
| <tr align="left" valign="top"> | |
| <td> | |
| Add Bookmark | |
| </td> | |
| <td> | |
| Add a bookmark to the current text selection or selected element. | |
| </td> | |
| <td> | |
| </td> | |
| </tr> | |
| <tr align="left" valign="top"> | |
| <td> | |
| Add Task | |
| </td> | |
| <td> | |
| Add a user defined task to the current text selection or selected element. | |
| </td> | |
| <td> | |
| Alt + Enter | |
| </td> | |
| </tr> | |
| <tr align="left" valign="top"> | |
| <td> | |
| Expand Selection to | |
| </td> | |
| <td> | |
| <ul> | |
| <li> | |
| Enclosing Element: Selects the enclosing expression, block, method in the code. This action is aware of the Java syntax. It may not function properly when the code | |
| has syntax errors. (Arrow Up) | |
| </li> | |
| <li> | |
| Next Element: Selects the current and next element. (Arrow Right) | |
| </li> | |
| <li> | |
| Previous Element: Selects the current and the previous element (Arrow Left) | |
| </li> | |
| <li> | |
| Restore Last Selection: After an invocation of <em>Expand Selection to</em> restore the previous selection. (Arrow Down) | |
| </li> | |
| </ul> | |
| </td> | |
| <td> | |
| Alt + Shift + Arrow Keys | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Show Tooltip Description | |
| </td> | |
| <td> | |
| Shows the value of a hover that would appear at the current cursor location. The dialog shown is scrollable and does not shorten descriptions. | |
| </td> | |
| <td> | |
| F2 | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Content Assist | |
| </td> | |
| <td> | |
| Opens a context assist dialog at the current cursor position to bring up Java code assist proposals and templates. See the <a href= | |
| "ref-preferences-templates.htm">Templates preference page</a> for available templates (Window > Preferences > Java > Editor > Templates) and go to the <a href= | |
| "ref-21.htm">Editor preference page</a> (Window > Preferences > Java > Editor > Code Assist) for configuring the behaviour of code assist. | |
| </td> | |
| <td> | |
| Ctrl + Space | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Quick Fix | |
| </td> | |
| <td> | |
| If the cursor is located at a location with problem indication this opens a context assist dialog at the current cursor to present possible corrections. | |
| </td> | |
| <td> | |
| Ctrl + 1 | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Parameter Hints | |
| </td> | |
| <td> | |
| If the cursor is located at the parameter specification for method reference, this actions shows a hover with parameter types information.The parameter at the current | |
| cursor location is shown in bold. | |
| </td> | |
| <td> | |
| Ctrl + Shift + Space | |
| </td> | |
| </tr> | |
| <tr> | |
| <td> | |
| Encoding | |
| </td> | |
| <td> | |
| Toggles the encoding of the currently shown text content. | |
| </td> | |
| <td> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <p> | |
| <img width="159" height="27" src="../images/ngrelc.gif" alt="Related concepts" border="0"><br> | |
| <a href="../concepts/concepts-7.htm">Java editor</a> <a href="../concepts/concepts-1.htm"><br> | |
| Java development tools (JDT)</a> | |
| </p> | |
| <p> | |
| <img border="0" width="159" height="27" src="../images/ngrelt.gif" alt="Related tasks"><br> | |
| <a href="../tasks/tasks-54.htm">Using the Java editor</a><br> | |
| <a href="../tasks/tasks-175.htm"> | |
| </a> | |
| </p> | |
| <p> | |
| <img border="0" width="159" height="27" src="../images/ngrelr.gif" alt="Related reference"><br> | |
| <a href="ref-java-editor.htm">Java editor</a><br> | |
| <a href="ref-21.htm">Java editor preferences</a><br> | |
| <a href="ref-view-outline.htm">Outline view for Java</a><br> | |
| <a href="ref-24.htm">Views and editors</a> | |
| </p> | |
| <p> | |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height= | |
| "14"></a> | |
| </p> | |
| </body> | |
| </html> | |