Where does Eclipse store the keyboard shortcuts configured in the Preferences dialog? I have a lot of custom keyboard shortcuts, and I find it's a huge chore to manually re-enter them whenever I setup a in Eclipse installation. I'm assuming Eclipse stores these configurations under ~/.eclipse, but after searching through those file I can't seem narrow down which specific file(s) contain my preferences.
How would I programmatically backup and restore my Eclipse preferences?
Preferences are stored in the workspace of your application in the . metadata/. plugins/org. eclipse.
eclipse stores all its workspace settings and files in the . metadata folder.
. project file is created whenever you create an Eclipse project. I guess, when you loaded your workspace, your components had some files or when you loaded your workspace you chose to create project for the root folder. This would have created a . project file which contains name of the Eclipse project.
According to: http://robertmarkbramprogrammer.blogspot.com/2007/07/eclipse-shortcuts.html
Go to File > Export > Preferences. Select "Export All" and fill out the destination path in the "To preference file" field. Click "Finish" to output a .epf file. Import these with File > Import > Preferences.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With