We have one installation of Eclipse which does not show the individual lines on which search results occur as do all other installations, as shown here:
How can we turn on this feature so that individual results in each line are shown?
Clicking on the Search menu and selecting Search or File or Java. Clicking Ctrl + H.
Open Eclipse Preferences. Go to Preferences > Java > Editor > Content Assist > Advanced. Make sure that Other Java Proposals is selected in the list of proposal kinds.
You can also use the Ctrl + H shortcut to search files in Eclipse project.
I think it's a question of what tool you are using. If you do a text search, you get one line per hit. But if, say, you look for references to a Java method, you get one line per file.
Although it seems like a perfectly desirable thing, I can't find any way to get Java search to return one line per hit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With