« June 28, 2006 | Main | July 10, 2006 »

July 6, 2006 Archives

July 6, 2006

"Writers Block" Solution for Java Developers

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.

For example:

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 a;
String b;
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:

copy this:

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

About July 2006

This page contains all entries posted to Shay Shmeltzer's Weblog in July 2006. They are listed from oldest to newest.

June 28, 2006 is the previous archive.

July 10, 2006 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle