X

Shay Shmeltzer's Oracle Development Tools Tips

  • May 31, 2007

10 Eclipse Navigation Shortcuts Every JDeveloper User Should Know

Shay Shmeltzer
Director of Product Management - Oracle

[update 2010 - if you are an Eclipse user starting with JDeveloper note that we added Eclipse key mapping that you can use in JDeveloper under the preferences shotcut keys - just load it.]

I saw this blog entry that listed the top 10 navigation shortcuts in Eclipse and I figured that I can steal this for a blog entry on JDeveloper too. (and also show that navigation in JDeveloper is actually not bad at all compared to Eclipse).

The blog entry does a nice job explaining why each one of these shortcuts is useful, so I'm not going to replicate the explanations here, instead I'll just list the function and how you do it in JDeveloper.

Note - these are all valid for the current production JDeveloper 10.1.3.

Turns out that there is only one shortcut that we are partly missing - navigate to subtype - which we have in 11 :-)



















































































1Open a file quicklyctrl+= for recent files or this extension
2Open a type or classctrl + -
3Go directly to a member (method, variable)Two options:


1. Download the quick outline navigator extension for JDeveloper from the check for update, once installed click ctrl+shift+t, type the name and press enter.


2. You can use ctrl+shift+s and then start typing the name and press enter (this actually uses the structure pane to do the navigation). (thanks for Cedric for pointing this out).
4Go to line number N in the source filectrl+g
5Go to the last edit locationctrl+shift+backspace
6Go to a supertype/subtypeUse the arrow showing up on the left margin, or Set an accelerator for go to declaration and then use this on the supertype
7Go to other open editorsctrl+tab
8Move to one problemalt+f8
9Hop back and forth through the files you have visitedalt+-> or alt + <-
10Go to a type declarationctrl+ mouse click (or add a short-cut through preferences->accelerators for example ctrl+alt+d)

Want to learn a few more useful short-cuts and other tips for your daily use of JDeveloper? check out the "JDeveloper treasure hunt" presentation I did at Oracle Develop last year.

Join the discussion

Comments ( 9 )
  • Cedric Thursday, May 31, 2007
    > 3 Go directly to a member (method, variable)
    Without downloading anything, type ctrl+shift+s followed by the member name, then press ENTER
  • Bog Wednesday, June 6, 2007
    It seems that ctrl+= open o file from recent opened files, not from all the workspace, it is not similar with ctrl+shift+r from eclipse.It would have been useful to have such a shortcut in jdeveloper.
  • Jan Vervecken Thursday, June 7, 2007
    hi Shay
    Do you happen to know an answer to this "interface to implementation(s)" navigation shortcut question?
    http://forums.oracle.com/forums/thread.jspa?threadID=508323
    many thanks
    Jan Vervecken
  • Shay Shmeltzer Thursday, June 7, 2007
    I answered the thread - if you have more navigation shortcuts you are missing let me know.
  • Shay Shmeltzer Wednesday, July 11, 2007
    I updated the blog entry to include the new go to file extension to address Bog point:
    http://blogs.oracle.com/shay/2007/07/sample_jdeveloper_extension_go.html
  • DSK Friday, September 17, 2010
    To go to any file : CTRL + ALT + -
  • shay.shmeltzer Friday, September 17, 2010
    Worth mentioning here that in the latest versions of JDeveloper 11g you can use Eclipse key mapping.
    Check your tools->preferences -> Short Cut Keys -> More Actions -> Import
  • sudeep Saturday, September 25, 2010
    I tried exporting shortcuts from eclipse. But eclipse generates CSV file an d Jdeveloper consumes xml files for key imports. Please let me know the exact way to do this.
  • shay.shmeltzer Monday, September 27, 2010
    You don't need to export from eclipse - if you choose the "Load Keyboard Schema" you'll see that eclipse shortcuts is already on that list (along with Emacs, Visual C++ and others).
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.