License
Friday by Marco Leong is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
License
Friday by Marco Leong is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
Making the switch from a language to another is not easy, worse, when you need to set you mind straight with the IDE. Recently, I am involved in Java and luckily there are some tricks to ease the pain by making eclipse behaves like Xcode. First, you want that auto-complete and open a class upon single click; then change the colour theme of the coding; and last, build and compile when you hit Ctrl (⌘) + R. Here’s how:
1. Go to Window -> Preferences
2. Look for Content Assist,
3. Look for General, change “Open mode” to “Single click”. Apply and OK to confirm the settings.
You have just got yourself auto-complete and single click to open in eclipse.
4. Next is about colour code, some people argue the colour schemes, but there is a reason why it is call “Preferences”. Roger Dudler created a colour theme inspired by Xcode. Download the Eclipse Preferences (EPF) from here.
5. Go File -> Import
6. Expend “General” and “Select Preferences”, click Next.
7. Select the file you have just downloaded and Import it.
You have got yourself an Xcode like colour scheme!
8. Keep it rolling, go to Window -> Preferences again, look for General -> Keys.
9. Well, scroll down on the list of commands or search for Run.
10. Change the Binding to Ctrl + R
After all these step, you have auto-complete, single click open, colour scheme and Ctrl + R to run. Hopefully, this walkthrough helps to make your life easier.
This walkthrough is inspired by Nick Noble and Roger Dudler.
Please leave a comment if you any suggestions 🙂
Happy coding~