"Writers Block" Solution for Java Developers
By Shay Shmeltzer-Oracle on Jul 06, 2006
We are currently discussing the list of features we want to get into the JDeveloper code editor in the 11 release. While working on the list of things to implement I came across various hidden gems in the JDeveloper code editor.
Are you familiar with the ctrl+alt+space shortcut?
This is in the source menu under the title "Smart Completion Insight". What does it do?
It is kind of a "writer block" releaser for Java developers. So when you are writing code and suddenly your mind goes blank and you forget what you need to write next this short cut can help.
Here are a couple of examples.
copy these 3 lines into a class:
String c =
Now place your cursor after the = sign and press ctrl+alt+space. JDeveloper will pop up a window to let you choose from the list of String object you have in your class.
One more sample:
List a = new
Import the missing List (alt+Enter), and then with the cursor after new press ctrl+alt+space and JDeveloper will complete the line for you.
There are more gems like this in there, I'll try and post some of those soon.
By the way, if you have a code editor feature that you would like to see us implementing, let us know on this OTN thread