A Quick Start Guide to DrJava | ||
---|---|---|
<<< Previous | Using DrJava, the Basics | Next >>> |
The Find and Replace menu is a useful way to search for specific text in your files, and replace it, if you so choose. To launch the Find/Replace tab, either use the keyboard shortcut Ctrl-F or choose "Edit, Find and Replace" from the menu at the top of the DrJava window. Once you do this, the Find/Replace tab will appear at the bottom of the screen. Type the text you want to search for in the "Find" box, and if you want to replace it with anything, type that in the "Replace" box. Then, chose which of the four options to the right of those text boxes that you want to use.
Match Case: Makes the search becomes case sensitive.
Search Backwards: Causes the search to go from the current location up through the file, instead of searching from the current cursor location down through the file.
Whole Word: Only finds instances of your search text that are preceeded and followed by either a space, a period, or an open or close parenthesis.
Search All Documents: Causes your search text to be looked for in all open files.
To go from instance to instance of your search text, use the four buttons at the bottom.
Find Next: Finds the next instance.
Replace: Replaces the current instance with your replace text.
Replace/Find Next: Replaces the current instance with your replace text and then finds the next instance.
Replace All: Replaces all instances of the search text with the replace text automatically
<<< Previous | Home | Next >>> |
System.in | Up | Advanced Features |