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 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 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 drop down menu
Navigate to Code Editor--Code Templates
Click on green plus icon and Enter ShortCut, Context and Code, here I have added code to get Binding Container of current page as it is needed often in ADF Application
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
and yes you can export code templates and share with your team members and they can import it to use
Exported Code Template (XML Format) looks like this