Hello, in this video, I will show you how you can configure a developer to write your own code template. By default g developer comm was a shortcut for some code. Like if you write if you want to write System dot out dot print line, you just tried to copy and press Ctrl Enter, you will find the old is a code automatically generated for you. Why because this shortcut is ob is already defined somewhere. Same if you want to write try and catch, you just throw, right try and Control Enter. As your developer will automatically create you some code if you want to, for I for was I integral equals something so just write for all.
So we're actually this is shorter code is stored and how I can define my own shortcut to simplify writing my code So, to to add your own shortcut or to know, we're actually the developer has the shortcut, you can go to to the tools preferences code editor template in the code template here, you will you will see all shortcuts which GTFO over built in define it. And contiguous is where actually this shortcut can be applied. In our case, we'll see the shortcut which is in the Java statements. So, you will find here this is the old shortcut which you can use inside Java code. And if you select any one you will find what is the could be will be behind it. So, you will find here Croix which you which we show you, you will find soapy to print system dot print line.
So, all this is a shortcut which is defined In the GTA if you want to create your own shortcode, for example, to get the binding in the back pain, you write this binding container to bind the particles to get a current or get the current interest all this line, you need to define it that you will need to write it every time. So all what you do need to add here, and it'll use shortcut for example, binding. And right here, your quote, I need to at this line once I write the binding, this is a line which will return some binding in sabac. Bean, even if you want to add them both as you can import the binding here's that will be on board automatically, and is the context you can default you can decide where I need this shortcut work needed in the Java JavaScript This is Troy's this is Bruce okay and in the Java code now if I need to get the binding, I will just write binding and control it.
You will find you will automatically curated if you add the if you add the import is important automatically imported over here and you can write any code any amount of code as you want. For example, if you want to get the view object from a traitor how you will do this you press here you can right here vo to get the old view object and I needed in the Java as well. Okay and you can write your own code. This is the pointing on the from the binding. You can get a traitor to see traitor bind buying Dink ater equal Little binding to get and right here say traitor name like this and it should be cost here to see the traitor pointing at the prompts a three to recognize the view object view object vo equal feature dot get view object. So you can define a amount of code if you want.
This is a code which will return a view object from the a traitor by connect to the binding from the binding gets a trade off from the target object. Just write vo okay and this will save and right here vo you will find the code is automatically generated for you. This is how you can define a shortcut to simplify you You're writing your code and you can speed, the performance of a development application. If you defined a lot of shortcuts, and if you want to use it in a differentiated version of Juniper, or if you were receipted, you developer and you want to take the shortcut somewhere, so you can export this shortcut. So I go to again to the quick template. After you defined all the shortcut you wish you want.
You can select one by one as you want, you have you can select your statement, your shortcut, or if you want to select or no problem in the action here, you will find support all or export selected. You can select something, if you want to ignore what you edit, you can just reset to the default so it is total default, restore default will delete all edit shortcut, and it will keep only the default shortcut defined by revolver. So After you finish it, you can export all or export selected, it will generate a file and you can go to the other developer and go to the code template here. And from action you can import your file. So your shortcut would be imported here and you can use it while developing in ADF. This is a good thing is in shoe developer.
This video I will talk about something else so see you and you can skip it you