New fetures in JDE
 

Sticky hovers

You can open a hover in a scrollable and resizable window by pressing F2.
When the hover help is displayed on the placement of the mouse cursor just pressing F2. This will make the hover help scrollable and resizable, one can also select the help text, copy and paste the same.


Find in file

Now one can search for all the occurrences of types, fields, methods and local variables inside the compilation unit or class file.



Locate any file

User can now locate and open any file in the workspace by using quick key combination Ctrl+Shift+R.


Occurrences in file

Select the method , class or variable -> right click and select Search -> Occurrences in file


Quick Assist

Quick fix is available now even when there are no errors.
Select the variable to be renamed and press Ctrl + 1. This will help to rename the variable and all its occurrences across the file.
You can assign expression statements to a new local variable or field. For example,
After typing the following statement press Ctrl +1
vector.iterator();
The statement will be transformed to
Iterator iterator= vector.iterator();

One can select the piece of code and surround it with do/while/if/for/try block by pressing Ctrl+1 and selecting the appropriate option.

Similarly one can remove the surrounding block by selecting the block key word like “while/if..” and press Ctrl+1



Hyper-linked Java code

While hovering over Java code, pressing the Ctrl key and moving the mouse turns class, method, and field identifiers into clickable links to the corresponding declaration. This option can be configured via the Java > Editor > Navigation tab.




Scroll to the next member

Using “Ctrl + Shift + Arrow Down” and “Ctrl + Shift + Arrow Up” short key combination in the Java editor developer can quickly navigate between member methods, fields, initializers, and types.


In-place outlines

Now the developer being in the Java editor can just press Ctrl+F3 to pop-up the outline view at the current cursor position.


Threads and Monitors view

The debugger's new Threads and Monitors view shows which threads are holding locks and which are waiting to acquire locks.



Instance breakpoints and watch points

You can now set breakpoints & watch points specific to a particular object instance.
In the Variables view, select Instance Breakpoints... from the variables context menu.



Improved conditional breakpoints

Now its possible to declare conditional breakpoints that are triggered whenever the value of an expression changes. In addition, code assist is now available when typing in the conditional expression by pressing Ctrl+space.



Stack trace hyperlinks

Java stack traces in the console now appear with hyperlinks. When you place the mouse over a line in a stack trace, the pointer changes to the hand and the stack trace is underlined. Pressing the mouse button opens the associated Java source file and positions the cursor at the corresponding line.


Reminders in your Java code

When you tag a comment in Java source code with "TODO" the Java compiler automatically creates a corresponding task as a reminder. Opening the task navigates you back to the "TODO" in the code.



 



Similar Topics
WSAD Shortcuts
Workbench Tips and Tricks
New Features in JDE
Java Development Tips & Tricks

Use of this website constitutes acceptance of the AllAppLabs.com Terms and Conditions