Edward Tanguay
Edward Tanguay

Reputation: 193462

Why would eclipse not show search results inside file in results list?

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:

alt text

How can we turn on this feature so that individual results in each line are shown?

Upvotes: 8

Views: 3988

Answers (2)

Volodymyr Volkov
Volodymyr Volkov

Reputation: 19

In the preferences of the Search window (usually button with triangle icon) choose "Show as List" item

Upvotes: 1

Ladlestein
Ladlestein

Reputation: 6150

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.

Upvotes: 3

Related Questions