Reputation: 4232
When I search for something in Eclipse and the results show in the Search tab, whenever I click on a result (for example, a .java) it opens in a new tab next to the Search tab (in the lower panel), instead of in a new tab next to the rest of files that are open in Eclipse (in the upper panel).
This is very annoying because I use the lower panel for "tool views" such as Console, Search, Problems, Tasks, etc and I don't want files to be opened in that panel.
I'm sure I'm missing some setting in the preferences but I can't find it and this behaviour is driving me crazy. Thanks for your help!
Upvotes: 2
Views: 1967
Reputation: 301
I fixed this in my variant of Eclipse (MCUXpresso) by altering: Window -> Preferences -> General -> Search -> Reuse editors to show matches.
Upvotes: 0
Reputation: 11
I had the same problem and was able to finally find a solution which helped me, so this should work for you as well.
Try the following:
You may need to play around with this a few times before it works, but it took me less than a minute to fix.
It seems that the way how you anchor the Search view has influence where the files will open after you double click.
See the original post which helped me find the solution
Upvotes: 1