Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to import Eclipse 3.4 keybindings/keyboard preferences into Eclipse 3.6?

Tags:

eclipse

I've tried exporting from the Eclipse 3.4 Keys pref pane, but this creates a .csv file and Eclipse 3.6 only seems to want to import .epf files (via File -> Import...). Is there any way to do this?

like image 545
Ewen Cartwright Avatar asked Feb 25 '23 01:02

Ewen Cartwright


2 Answers

Sadly, Eclipse 3.6 (and probably older versions) cannot import key bindings from CSV files. If you have only a .csv file of the key bindings and you're not able to re-export those bindings as a .epf, you are completely out of luck.

As most people would expect, changing the file extension from .csv to .epf will not work. EPF files contain XML, while CSV files are, well, comma-separated values. One could probably write a program to convert the CSV to EPF, but I've not seen one already available.

like image 104
Mr. Lance E Sloan Avatar answered Feb 27 '23 16:02

Mr. Lance E Sloan


There is a similar question at Import Emacs Keyboard Configuration Into Eclipse?

It worked for me on upgrading from 3.6 to 3.7 version of Eclipse.

Use: File->export->General and select 'Keys Preferences'
and
File -> import -> General

like image 39
fishjd Avatar answered Feb 27 '23 15:02

fishjd