JDeveloper IDE comes with lots of features and one of them is Code Template, Code Template means some saved code that can be used using a shortcut key anywhere in the editor.
There are many preconfigured templates for e.g.
Type sop in editor and press ctrl+enter and IDE will write
Type main in editor and press ctrl+enter and IDE will write
In the same way we can create our own code templates (Reusable code), To define custom Code Templates in JDeveloper follow these steps
Click on Tools menu on top toolbar in JDeveloper IDE, Select Preferences from the drop down menu
Now open your java class, type code template shortcut and press ctrl+enter, template code will be added in your java class. So this is a great utility and saves extra efforts
Cheers 🙂 Happy Learning
An Oracle ACE, Blogger, Reviewer, Technical Lead working on Oracle ADF