Introduction
The whole idea of posting this Tip/Trick is to enable Eclipse IDE to replicate same Key Bindings as Visual Studio IDE.
Motivation
As a developer, when we are working on different IDE, then its quiet counter productive to have different Key bindings and after starting to code extensively on Eclipse, need to have same Key Bindings as Visual Studio was surely the need of the hour.
Steps to map Key Bindings in Eclipse
- Start Eclipse Neon (Or any ver you have)
- Click "Help" -> "Install New Software"
- Click "Work With:" ComboBox
- Select "Neon - http://download.eclipse.org/release/neon"
- Below ListBox will get populated
- Scroll Down and search for "Programming Languages"
- Expand "Programming Languages" in the Below ListBox under the column "Name"
- Check "C/C++ Development Tools"
- Click "Next" -> "Next"
- Click "Accept the Licence Agreement" -> "Finish"
- Once the "Installation Software" is complete, It will prompt to restart Eclipse
- Click "Yes" to restart Eclipse
- Click "Windows" -> "Preferences"
- Expand "General"
- Click "Keys"
- Click "Scheme:" ComboBox
- Select "Microsoft Visual Studio"
- Click "Ok" :)
Points of Consideration
Conceptually Eclipse IDE is quiet different from Visual Studio IDE, for instance Visual Studio has "Release/Debug" mode where as Eclipse have "Perspective". But after making the above changes, then mostly (again mostly) the Key bindings of Eclipse IDE will be in sync with Visual Studio Key bindings.
For other versions of Eclipse IDE like Mars, Luna, Kepler..... or any other ver of Eclipse - Select the appropriate link with same version name in the "Work With:" ComboBox.