Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse doesn't provide details on file search

Tags:

eclipse

I'm having a baffling problem with Eclipse on one of my machines, and it's driving me nuts. When I use File Search, I no longer get the details of each hit within the files. It used to do that, and at some point it stopped. I can only assume that I either installed some plugin that goofed it up or fat-fingered some obscure keyboard shortcut that caused it to stop working. My home machine, which has roughly the same setup (since I work on most of the same projects on it) does not have that issue. Here's a quick screen shot of my home machine, which does have the details that I would like:

Good screen shot

And here's what it looks like on my other machine, with the lack of line context:

Bad screen shot

I'm totally baffled here. Can anybody help out?

like image 741
jjb Avatar asked Jan 26 '12 19:01

jjb


2 Answers

Judging by past items...

...closing Eclipse and then running it with the -clean parameter (e.g. eclipse.exe -clean) might do the trick. Or it might not.

like image 137
Adam Rofer Avatar answered Nov 13 '22 15:11

Adam Rofer


One more suggestion. This is not a nice or pretty suggestion and it doesn't tell you why you have a problem, but it just may work.

  1. in your good machine, File -> Export... -> Preferences
  2. in your bad machine, create a new empty workspace
  3. import all of the preferences from your good machine.
  4. If search is now working properly, then import all of your old projects to the new workspace.

This just might work.

like image 36
Andrew Eisenberg Avatar answered Nov 13 '22 15:11

Andrew Eisenberg