Search box in Eclipse

eclipse

Solution

You can use Increment find for this. Press Ctrl+J.

Then observe in the status bar THAT incremental find is activated. Then you can go on typing your search term the first occurrence of word will be highlighted in editor if found else you will get `<search term> is not found error`(in red colour) in status bar.

Refer the image below

Note:

You can cycle through forward the next occurrences by pressing Ctrl+K and backward by pressing Ctrl+Shift+K

If the shortcut key for incremental find is NOT working then check the short cut keys for `Increment Find` and `Reverse incremental Find` commands in `Windows->Preferences->Keys` section

Problem

When I hit Ctrl+F in Eclipse, it would bring up a search-box asking for the term, etc. That's annoying because if I'm on a small monitor, the pop-up would cover most of the text. Does Eclipse have a search-bar at the bottom (or top) of the editor like Netbeans does? (In Netbeans, when you hit Ctrl+F, a very small search-bar would appear at the bottom/top of the editor).

Original source