I just counted the number of active eclipse workspace I have: Eight! I’m sure there are other developers which even have more than eight? Eclipse maintains many settings inside the workspace .metadata folder (see my post on CodeWarrior Tool Tip #1: Improve performance by cleaning house in the Eclipse workspace). The question is: how can I copy or transfer my carefully balanced workspace settings to another workspace?
The solution is not that obvious. But is straight forward once I knew about it: I can export and import the workspace settings. For this I select the menu File > Export and select General > Preferences:
The next dialog gives me the opportunity to select what to export (I usually select ‘Export all’) and to which file (which is a normal text file):
Applying the preferences (or settings) to another workspace just works the other way round: I use the menu File > Import > General > Preferences. Simple like that .
Hint: I use File > Export > General > Preferences as well to have a backup of my preferences (in case eclipse might screw up my workspace). Or to store the settings in a version control system.