Reputation: 133
Is there any way to configure Eclipse such that when I am in one file (Java class in my case) and I f3 into another class, to prevent it from opening in a new tab? I am ending up with a bagillion different tabs. I want the new file to appear in the tab where the old on was (think replace)
Upvotes: 0
Views: 566
Reputation: 14415
You can achieve this by enabling "Close editors automatically" while also limiting the "Number of opened editors before closing" to 1. It's technically not one single tab because a new editor is opened, but it should still fit your needs.
See "Preferences > General > Editors":
If you want certain editors to still be kept open, you can pin them via the new toolbar icon that appears after checking above setting:
(Version: Eclipse Mars.2)
Upvotes: 1