Edit Menu actions

Selecting Edit Menu

Name Function Keyboard Shortcut
Undo Revert the last change in the editor Ctrl+Z
Redo Revert an undone change Ctrl+Y
Cut 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. Ctrl+X
Copy Copies the currently selected text or elements to the clipboard Ctrl+C
Paste Paste the current content as text to the editor, or as a sibling or child element to the a currently selected element.  Ctrl+V
Delete Delete the current text or element selection. Delete
Select All Select all the editor content.. Ctrl+A
Find / Replace Open the Find / Replace dialog. Editor only. Ctrl+F
Find Next Finds the next occurrence of the currently selected text. Editor only. Ctrl+K
Find Previous Finds the previous occurrence of the currently selected text. Editor only. Ctrl+Shift+K
Incremental Find Next Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only. Ctrl+J
Incremental Find Previous Starts the incremental find mode. After invocation, enter the search text as instructed in the status bar. Editor only. Ctrl+Shift+J
Add Bookmark... Add a bookmark to the current text selection or selected element.  
Add Task... Add a user defined task to the current text selection or selected element. Alt+Enter
Add to working set Add current resource to selected Working Set Ctrl+I
Remove from working set Remove current resource from Working Set Ctrl+Shift+I
Smart Insert Mode Toggles editor's Smart Insert Mode Ctrl+Shift+Insert
Show Tooltip Description Displays tooltip description, where applicable. F2
Word Completion Completes current word in editor. Alt+/
Quick fix Call quick fix dialog for selected warning/error. Ctrl+1
Content Assist Opens a context assist dialog at the current cursor position to bring up Java code assist proposals and templates. See the Templates preference page for available templates Window > Preferences > C/C++ > Code Templates and go to the Editor preference page Window > Preferences > C/C++ > C/C++ Editor > Content Assist for configuring the behaviour of content assist. Ctrl+Space
Parameter Hints Opens Parameter Hints dialog. Editor only Ctrl+Shift+Space
Shift Right Shifts text Right. Editor only  
Shift Left Shifts text Right. Editor only  
Format Formats text. Editor only Ctrl+Shift+F
Add Include Add include to current file. Editor only Ctrl+Shift+N
Set Encoding... Toggles the encoding of the currently shown text content.  

Note: Other Edit options are used with the JDT. Refer to the Java Development User Guide for details.

IBM Copyright Statement