There´s any eclipse shortcut to stance a new object ? For example. I would like to type:
Object zzz =
and it would complete for me this way:
Object zzz = new Object();
with void parameter of course. I will wait answers.. thank you people.
In Eclipse, if the cursor is over a word and you press Ctrl + K you will jump to the next occurrence of that word in the file.
F7 steps out to the caller of the currently executed method. This finishes the execution of the current method and returns to the caller of this method. F8 tells the Eclipse debugger to resume the execution of the program code until is reaches the next breakpoint or watchpoint.
Try the template 'new':
1) type new and then ctrl+space.
2) Choose the 'create new object' option
3) Insert the class name and parameters (if needed)
If you don't want the parameters, you can create a template yourself (preferences->java->editor->templates). Assign a unique name to it, and set the pattern to:
${type} ${name} = new ${type}();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With