Friday, June 3, 2011

JDeveloper: Top 10 Shortcuts

  1. Find Usages Ctrl+Alt+U
  2. Go To Java Type Ctrl+Minus
  3. Go To File Ctrl+Alt+Minus
  4. Show Overview Ctrl+Shift+ Back Quote
  5. Extract Method Ctrl+Alt+X
  6. Introduce Variable Ctrl+Alt+V
  7. Run Project F11
  8. Debug Project Shift+F9
  9. Quick JavaDoc Ctrl+D
  10. Reformat Ctrl+Alt+L
Find Usages (Ctrl+Alt+U) : This is pretty much the shortcut i use all the time. This helps you to find the uses of a method or class in the project or application.



Go To Java Type (Ctrl+Minus) : Coming from Eclipse, this is one short cut that i cant live without. This is one short cut that is used the most for me.



Go To File (Ctrl+Alt+Minus) : Very useful for searching the various resources other than Java files.




Show Overview (Ctrl+Shift+ Back Quote) : Especially when the Java source file is very large. This view is very useful to inspect and quickly navigate. The interesting part i loved in JDeveloper is this option to show the structure from the Inherited Classes too. It’s so helpful.



Extract Method (Ctrl+Alt+X) : Select few lines of code that is reusable as a method.




Introduce Variable (Ctrl+Alt+V) : Often i start out with inline statement and later on decide to reuse.




Run Project (F11) and Debug Project (Shift+F9) : These may not seed any explanation why we need these shortcuts.

Quick JavaDoc (Ctrl+D) : Eclipse shows the help on Hover of a Java element. In JDeveloper, this short cut helps very handy to understand your own and other’s code.




Reformat (Ctrl+Alt+L) : After few lines of coding or after few methods, the code gets cluttered and this helps to format the code and feel good

Other Shortcuts that i use very often (less frequently as my Top 10 shortcuts)


Search
  • Code Highlight Ctrl+Alt+H
  • Clear Code Highlight Ctrl+Alt+K
  • Auto Code Highlight (this makes the code always highlighted)
View
  • Structure Ctrl+Shift+S
  • Property Inspector Ctrl+Shift+I
  • Component Palette Ctrl+Shift+R
  • Break Point Ctrl+Shift+R
Miscellaneous
  • Copy Path Ctrl+Shift+C
  • Go To Line Ctrl+G
  • Go To Window Ctrl+F6
  • Go To File Ctrl+Alt+Minus
Build
  • Make Project Ctrl+F9
  • Rebuild Project Alt+F9
Run
  • Resume F9
  • Step Over F8
  • Step Into F7
  • Step Out Shift+F7
Java Editing
  • Organize Imports Ctrl+Alt+O
  • Select in Navigator Alt+Home