Showing posts with label shortcuts. Show all posts
Showing posts with label shortcuts. Show all posts

Wednesday, August 10, 2011

Navigation shortcuts every JDeveloper programmer should know

I read this article and decide to make such an article for JDeveloper as well. I already post article about how to load the Eclipse shortcut schema in JDeveloper but if you want to use the standard JDeveloper schema here how to do it, so let’s start:

  • Open any file quickly without browsing Application Navigator: Ctrl+Alt+Minus

image

  • Open a type (e.g.: a class, an interface) without clicking through interminable list of packages: Ctrl-Minus

image

  • Go directly to a member (method, variable) of a huge class file, especially when a lot of methods are named similarly: Ctrl-Shift-Back Quote. Unfortunately on German keyboard is not really very useful so I change this for me to Ctrl-Alt-Dead Acute.

image

  • Go to line number N in the source file: Ctrl-G, enter line number.

image

  • Go to the last edit location: Ctrl-Shift-Backspace.
  • Go to a supertype/subtype: this function exist as well, but by default there is not shortcut for it, but you can assign your own. I use Ctrl-Alt-T, and the command name is View Type Hierarchy.
  • Go to other open editors: Ctrl-Tab

So as you can see you have the same possibilities in JDeveloper as well. For some of the commands there are no shortcuts by default so you can use your own configuration.

cheers

Tuesday, August 9, 2011

JDeveloper Shortcuts

I was looking about JDeveloper shortcuts, since I was developing a lot with Eclipse in the last project I wanted to have similar shortcuts also for JDeveloper and here the interesting part, you do have predefined Eclipse shortcuts which you can load into the JDeveloper. To do so do the following:

  • Start JDeveloper
  • Go to Tools->Preferences…

image

  • on the left side select Shortcut Keys

image

  • From the top right click on More Actions and then on Load Keyboard Schema…

image

  • From the new window select Eclipse and then click on OK. This will load the Eclipse shortcuts schema.

NOTE: When you do this, you will loose configurations your did before to your schema. So make sure that you duplicate your current schema if you made any changes to it, to prevent loosing them.

TIPP: I was looking for the Full Screen shortcut, which is normally in Eclipse Ctrl-M, so under JDeveloper this is the Ctrl-Alt-M. Also in JDeveloper the command name is Maximize Toggle.

cheers