Edit menu commands shown when a C/C++ Editor is visible:
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 |
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 |
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 |
Shift Right | Shifts text Right. Editor only | Ctrl + I |
Shift Left | Shifts text Left. Editor only | Ctrl + Shift + I |
Next Problem | Moves to the next problem encountered. | Ctrl + . |
Previous Problem | Navigates to the previous problem encountered. | Ctrl + , |
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 |
Convert Line Delemeters to |
Toggles line delimeters to
|
|
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.