views:

782

answers:

3

Where does eclipse keep it's key-binding settings? I want to transfer them from one system to another. If there is a tool for this that would be good but if not, I'm willing to copy files (really all settings should be the same on both systems.)

+5  A: 

Export: File -> Export -> General -> Preferences -> Keys Preferences

Import: File -> Import -> General -> Preferences -> Choose file

Kevin
This saves them as CSV (to be put into Excel, I guess), and there's no way to import keys from CSV, AFAIK
Yoni Roit
As of Eclipse 3.4, this method exports the keys as Eclipse preferences
Kevin
Yes, but there's no way to import them, which kinda defeats the purpose. Or am I wrong?
Yoni Roit
You're wrong :) The "prefs" file format allows you to selectively import the "Keys Preferences" or whatever else you exported.
Kevin
+8  A: 

export all your Eclipse prefs to a file.

File->Export->General->Preferences

Import has an option to import only key settings from this file.

File->Import->General->Preferences
Yoni Roit
nice short answer with comments, (hope you don't mind my reformatting)
BCS
Note that you can only see keybindings in the Export list once you have configured some non-default keybindings!
Dan Fabulich
+1  A: 

The "Export CSV"-button under keys-preferences might make you think there's an import. Ofcourse there's not. Gaah.

Mattias Bengtsson
Seriously, what the hell? Ambiguous and broken functionality.
Artem Russakovskii