score:62

Accepted answer

how to install visual studio key bindings in eclipse (helios onwards)

for anyone finding this post, if you need step by step instructions and you're using eclipse indigo pdt , the following should help you:

(note: you will be prompted to restart eclipse after installing)

  1. start eclipse
  2. click help -> install new software
  3. in the work with box select or type your version of eclipse, e.g.:
  4. make sure the 'type filter text' box is blank.
  5. wait for a list of names and versions to appear
  6. scroll down to find programming languages, and expand it
  7. locate c/c++ development tools and check the box
  8. click next and follow the remaining instructions on screen.

after finishing the install and restarting eclipse...

  1. click window -> preferences
  2. expand general
  3. click keys
  4. change the scheme drop down to microsoft visual studio
  5. click ok

to confirm the update, try pressing ctrl + shift + f and the 'search' dialogue box should appear.

score:0

eclipse ganymede has a built-in keybinding scheme for visual studio. have you tried that?

score:2

i don't have a vs2005 keybinding scheme as i personally prefer a brief-style scheme.

however, to import "it", as far as i know (at least on eclipse 3.4 ganymede) use file -> import -> general -> preferences where "it" is a .prf file which has been saved out using file -> export -> general -> preferences.

score:18

to get the visual studio key bindings in eclipse you need to install the c++ development plugins - see this.

i downloaded the latest java development version of eclipse (version below), when to help -> software updates -> available software -> ganymede and ticked the c++ box. after a restart the visual studio key binding appeared in the list.

eclipse platform

version: 3.4.1
build id: m20080911-1700

score:19

i think the latest eclipse ships with visual studio bindings but at least the eclipse pdt doesn't (which i just installed). and i would prefer to not have lots of extra plug-ins in eclipse to keep it more "slim", so i didn't add the c++ plug-in. (maybe it doesn't affect performance but i really need only the keys...)

so anyway, i added the keys which i needed. as previous posters noted, when you "export" in the key customization there is no way to import them, so the separate file->export/import functionality is the way to go.

so, as summary:

  1. try add to eclipse c++ plugin and see if it ships with key bindings that work for you

  2. use mine key bindings, key list and download here install: unzip, use file->import->general... to get it to eclipse

it's far from complete of course (it's only keys which i missed to get started...), but better than nothing anyway.

update (2009-10-16): added ctrl + g (go-to-line) to the bindings.


Related Query

More Query from same tag