You can save the folder '.metadata' in your workspace.
This folder contain your preferences, simply restore it after a re-installation and your done.
The '.metadata' folder can contain projects/plugins specific settings, the 'core' eclipse settings are in: '.metadata/.plugins/org.eclipse.core.runtime/.settings'
Theses 'core' settings can be exported using 'File -> Export -> Preferences' too as Csaba_H said.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…