Eclipse does not provide file search details

I have a problem with Eclipse on one of my machines and it drives me crazy. When I use File Search, I no longer get the details of each hit in the files. Previously, this was done, and at some point it stopped. I can only assume that I either installed some kind of plugin that guessed it, or swallowed an obscure key combination that caused it to stop working. My home machine, which has roughly the same setup (since I am working on most of the same projects on it), does not have this problem. Here is a quick screen shot of my home car that has the details I would like:

Good screen shot

And here is what it looks like on my other machine with no line context:

Bad screen shot

I am completely puzzled here. Can anybody help?

+7
source share
5 answers

Judging by , , ...

... closing Eclipse and then starting it with the -clean (e.g. eclipse.exe -clean ) may do the trick . Or it is not.

+5
source

Another suggestion. This is not a pleasant or beautiful offer, and it does not tell you why you have a problem, but it might work.

  • in your good machine, File โ†’ Export ... โ†’ Settings
  • on your bad machine, create a new empty workspace
  • import all settings from your good machine.
  • If the search now works correctly, then import all old projects into the new workspace.

It might work.

+2
source

This is identical to this comment topic at bugs.eclipse.org โ†’ https://bugs.eclipse.org/bugs/show_bug.cgi?id=47136#c44

Unfortunately, the recommended solution is to reinstall Eclipse

+2
source

You can try searching the logs to determine if there is a certain incompatibility with the plugin.
From http://www.eclipse.org/eclipse/platform-core/documents/3.1/debug.html

Typically, in Eclipse, when you receive an error message, the message and stack trace are written to the workspace log. It's great, but can be easily missed if you are not looking for it. And some plugins silently write a log to a log file. Tsk tsk. In order to not skip entries, we use the -consoleLog command line argument in the log. This basically means that everything you register in the log file must be logged to the console. "

 eclipse -consoleLog 

So, try running eclipse -consoleLog and see if there is an error starting the search. Do the same on both computers to compare and compare.

+2
source

There are various kinds of searches in Eclipse. It appears that the first search is a file search. Iโ€™m not sure what the second search is, but it looks completely different. Make sure you search for โ€œFileโ€ on the second computer.

CTRL-h (or CMD-h on Mac). Select the โ€œFile Searchโ€ tab. If you do not see this, click "Configure ..." in the lower left corner and make sure that "Search for file" is displayed.

+1
source

All Articles