Shay Shmeltzer's Oracle Development Tools Tips

  • July 10, 2007

Sample JDeveloper Extension - Go To File Shortcut

Shay Shmeltzer
Director of Product Management - Oracle

For a while I wanted to have a beginner guide for writing extensions to JDeveloper - just to show people it is rather a simple task.

So a couple of weeks ago someone on the forums mentioned that we didn't have a keyboard short-cut in JDeveloper that will just let you type a name of a file and then will automatically open it in the editor.

So I decided to pick this up and show how simple it is to add something like this to JDeveloper with an extension.

I created a very basic extension that will popup a list of all the files in your project once you press ctl+alt+Minus then you can start typing your file name - once you reach it in the list press enter and the file will open in the editor.


You can download the extension from here (or through the check for updates in the JDeveloper menu).

If you'll look into the jar file you'll see the actual java class that has the code for the extension.

It is very simple - one routine finds the file names.

The other routine adds the dialog to the JDev environment.

Feel free to improve this extension by changing the code.

Next on my plate is to do a little write up that will explain the steps for building up an extension.

By the way, when release 11 of JDeveloper will come out you won't need this extension any more - the feature will be built-in - and is already looking much better than my version.


Join the discussion

Comments ( 4 )
  • Huseyin ASLITURK Wednesday, July 11, 2007
    More time i need to go method which name of method is know by me. i need a function like "goto class" menu item binded to keyboard shortcut.
    can you add this functionality to new version of JDeveloper 11g.
  • Shay Shmeltzer Wednesday, July 11, 2007
    We have shortcuts to goto class and also to navigate to a specific method.
    Check out this blog entry:

  • Bog Thursday, July 12, 2007
    tks a lot shay ;)
  • alex Tuesday, January 12, 2016

    How to install? I can't add extension

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.