New Coding Toys in JDeveloper 11

It sometime seems that a lot of the coding features in JDeveloper go unnoticed by some users. For example, we get the "I can do this keyboard short-cut in Eclipse/IDE - how come it is not in JDeveloper" question - and in many cases it is in JDeveloper - you just need to know where to find it.

So I thought I'll start "documenting" some of the new features so they won't go un-noticed.

The first thing you'll notice is that the code editor in JDeveloper now has its own toolbar - which provide quick access to some of the functions. This might help you discover that we do have the following:


  • Generate Accessors (now with new stronger feature then before)

  • Surround with (mark a section of your code and surround with)

  • Override Method/Implement Interface

  • Reformat

  • and bookmarks


All of these we had before - but some people didn't find them.

By the way to make it easier to access them we also added a source option to the right click menu in the editor.





Another object on the toolbar is the find window
Start typing something and JDeveloper will find it - and then use the arrows to navigate between the instances.
Note that you can click the little binoculars icon to set some search options.


One more new search option can be found under the search top menu is called "Auto Code Highlight" that will actually automatically highlight instances of the item you are standing on in the editor.
(In 10.1.3 there is an extension that does this).

In the source menu you'll also note some new things in 11 such as the:


  • Generate constructor from fields

  • Generate equal and hashcode

  • Generate event notification

To make navigation easier in the go to class we added support for camel-case. Try this Ctrl and "-" and then type NuP - get the picture?

The quick Javadoc (ctrl+D) now also works for methods - so try this: get code insight for a variable that shows a list of methods - and then scroll to a method and press CTRL+D to get the scoop about it.




For easier code readability we added more syntax color options - make sure to go into tools->preferences->code editor and turn them on by checking the enable highlight box and formatting them. Note that some of them are not on by default. (again in 10.1.3 we had an extension that provided this).





There are other nice shortcuts like this out there - but these should keep you busy for now...

Comments:

It's good to know about the cool new coding features in JDev 11, thanks. But there are some shortcuts I do miss from Eclipse, e.g.: Alt+Up (Move Lines Up), Alt+Down (Move Lines Down), Ctrl+Alt+Up (Duplicate Lines), Ctrl+Alt+Down (Copy Lines), Ctrl+Shift+R (Open Resource). Do they exist in JDev (I didn't find them)? If not, is there a chance to see them in 11?

Posted by Janusz Marchewa on May 15, 2007 at 08:36 PM PDT #

For the go to resource use ctrl+alt+- (go to file) I'm not sure how much the other short-cuts are more useful then ctrl-c/ctrl-x/ctrl-v :-)

Posted by Shay Shmeltzer on May 16, 2007 at 05:40 AM PDT #

when is the final release of jdev 11 is expected to be out?

Posted by Reza Ghaffaripour on June 14, 2007 at 05:42 PM PDT #

We can't provide production dates due to sarbanes oxley regulation. All we can say right now is FY08.

Posted by Shay Shmeltzer on June 15, 2007 at 04:39 AM PDT #

Hi,
i have a question about the syntax colors in Jdev 11g.
On others IDE i use a lot of options, with different colors for class, interface, method, etc...
In JDev 11g i can configure different colors for all schemas, using "Language : Default", that contains all those new options, spending some time... for nothing, because "Language : Java" contains only a limited set of options and overrides the configurations of "Language : Default".
How i can resolve?

Posted by Khorne on October 19, 2011 at 03:04 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