10 Eclipse Navigation Shortcuts Every JDeveloper User Should Know

[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 :-)










































1 Open a file quickly ctrl+= for recent files or this extension
2 Open a type or class ctrl + -
3 Go 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).
4 Go to line number N in the source file ctrl+g
5 Go to the last edit location ctrl+shift+backspace
6 Go to a supertype/subtype Use the arrow showing up on the left margin, or Set an accelerator for go to declaration and then use this on the supertype
7 Go to other open editors ctrl+tab
8 Move to one problem alt+f8
9 Hop back and forth through the files you have visited alt+-> or alt + <-
10 Go to a type declaration ctrl+ 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.

Comments:

> 3 Go directly to a member (method, variable) Without downloading anything, type ctrl+shift+s followed by the member name, then press ENTER

Posted by Cedric on May 31, 2007 at 05:05 AM PDT #

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.

Posted by Bog on June 05, 2007 at 07:15 PM PDT #

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

Posted by Jan Vervecken on June 06, 2007 at 11:57 PM PDT #

I answered the thread - if you have more navigation shortcuts you are missing let me know.

Posted by Shay Shmeltzer on June 07, 2007 at 04:55 AM PDT #

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

Posted by Shay Shmeltzer on July 11, 2007 at 11:32 AM PDT #

To go to any file : CTRL + ALT + -

Posted by DSK on September 16, 2010 at 06:37 PM PDT #

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

Posted by shay.shmeltzer on September 17, 2010 at 02:17 AM PDT #

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.

Posted by sudeep on September 24, 2010 at 06:34 PM PDT #

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).

Posted by shay.shmeltzer on September 27, 2010 at 01:44 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today