The Edit menu contains normal text editing functionality, as well as features such as tasks and bookmarks which are specifically related to editing code.
The options available from the Edit menu are:
Name |
Shortcut |
Description |
Undo |
Ctrl+Z |
Undoes the last text edit in the active file |
Redo |
Ctrl+Y |
Redoes the last text edit in the active file. |
Cut |
Ctrl+X |
Cuts the selected section of text. |
Copy |
Ctrl+C |
Copies the selected section of text to the clipboard. |
Paste |
Ctrl+V |
Pastes text from the clipboard. |
Delete |
Delete |
Deletes the selected section of text. |
Select All |
Ctrl+A |
Selects all text within a file. |
Find / Replace... |
Ctrl+F |
Finds and replaces text within the active file. |
Find Next |
Ctrl+K |
Goes to the next instance of an item selected in the editor. |
Find Previous |
Ctrl+Shift+K |
Goes to the next instance of an item selected in the editor. |
Incremental Find Next / Previous |
Ctrl+J |
Finds character strings after / before the cursor within the active file. To use this feature, press Ctrl+J and the first few letters of the required string. The relevant text will be highlighted in the file. While in this mode, the up and down cursor keys can be used to navigate between matches. The search can be cancelled by pressing left, right, Enter or Escape. |
Add Bookmark... |
|
Inserts a bookmark into your script. Bookmarks are used to easily navigate to specific sections in your scripts. You can attach a descriptive name to each Bookmark which can be later seen in a tooltip next to the Bookmark. Bookmarks are indicated by a bookmark icon in the left margin. Open the Bookmark view (Window | Show View | Other |General | Bookmarks) to navigate between existing Bookmarks. |
Add Task... |
|
Inserts a task into your script. Tasks are used as reminders to the programmer. For maximum effectiveness, tasks should be placed next to the section of code on which the action will be implemented. Open the tasks view ( Window | Show View | Tasks) to navigate between existing tasks. |
Show Tooltip Description |
|
Shows the value of a hover that would appear at the current cursor location. The dialog shown is scrollable and does not shorten descriptions. |
Word Completion |
Alt+/ |
Completes a word being typed. Enter the first few letters of the word and press Alt+/ to complete the word. Completes a prefix to a word occurring in all currently open editors or buffers. |
Set Encoding |
|
Changes the file encoding used to read and write the file in the active editor. |
|
|
|
Related Links: |
|
|
©1999-2012 Zend Technologies LTD. All rights reserved.