Ikool’s Blogbed

JDeveloper and Eclipse shortcuts compared

Eclipse is very popular IDE for java community and it also supports other languages such as PHP, C and C++. I use Eclipse for my development for many years, and I just love it so much. I will always ponder if Eclipse could do the same for me anytime I need to work on different projects. Even recently on a project which must use Oracle ADF framework, but it turns out this time I have to use JDeveloper to develop the project. Well, what I really expect from JDeveloper is what I can get from Eclipse. So here is the list of shortcuts that I always want to have no matter if I am using Eclipse, Netbeans and JDeveloper.

Continue reading

Advertisements

June 23, 2008 Posted by | How Tos, IDE Tools | , , , , | 2 Comments

Top 20 Eclipse Shortcuts

Here are the top 20 Eclipse shortcuts that I used most of the time during java development, and some of them can even be used for other languanges such as PHP

  1. Ctrl + Shift + F : format code. If nothing is selected then whole document will be formatted. Otherwise, only the selection of your code will be formatted. It’s not quite smart when talking about formatting the selected code
  2. CTRL + L : Go to line. Wow, man, you need to remember this one, especially when trouble shooting
  3. Alt + left and Alt + Right: Navigation
    Ctrl + Left and Ctrl + Right can be used to navigate through where you visit. For example, you navigate to the definition or declaration of a method, and even go deeper to other functions using F3. Now you want to go back one level, you can do so using Ctrl+left. If let’s say you come back a few levels and now you want to go back further again, you can do that using Ctrl+Right combination. It’s very quick way to navigating through your code
  4. Ctrl + Shift + R : Open Resource, very helpful on finding the class/interface
  5. Ctrl + Shift + O : Organize imports
  6. Ctrl + T : Open Type Hierarchy
  7. Ctrl + Shift + F4 : Close all Opened documents
  8. Ctrl + O : Open declarations
  9. Ctrl + E : Open Editor, let you quickly switch among the opened documents
  10. Ctrl + / : Line Comment. It also allows to comment your selection using ‘/’
  11. Ctrl + Shift + / : Comment your selection using /* and */ instead of ‘/’
  12. Alt + Shift + R : Rename
  13. Alt + Shift + L : extract to Local Variable
  14. Alt + Shift + M : extract to Method
  15. F3 : Open Declaration
  16. Ctrl + S : Save your document
  17. F5 : Reload your project. It’s useful after you modify or sync your code
  18. Tab or Shift Tab : Indent your line or selection
  19. Ctrl + Space : Code assistence
  20. Ctrl + Shift + L : list all the shortcuts

The list keeps going on. It will significantly increases your productivity 🙂

June 23, 2008 Posted by | IDE Tools | , , | Leave a comment