0% found this document useful (1 vote)
696 views

RDi Snippets (IBM Rational Developer For I)

This document discusses customization features in RDi/RDp including templates, snippets, and wizards. Templates can be created and modified to be used with code assist. Snippets provide standard code blocks and can be customized by creating new categories and snippets. Snippets allow variables to be defined and inserted to generate boilerplate code by double clicking the snippet.

Uploaded by

Andreas Steding
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
696 views

RDi Snippets (IBM Rational Developer For I)

This document discusses customization features in RDi/RDp including templates, snippets, and wizards. Templates can be created and modified to be used with code assist. Snippets provide standard code blocks and can be customized by creating new categories and snippets. Snippets allow variables to be defined and inserted to generate boilerplate code by double clicking the snippet.

Uploaded by

Andreas Steding
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 3

RDi/RDp

Customizations - Built-in wizards (not that flexible)

- Templates (only usable in /free calc specs) - Snippets (usable anywhere)

RDi/RDp
Templates
Reached through Code assist (Ctrl + Space). Create your own or modify IBMs existing ones.

RDi/RDp
Snippets
Useful for standard blocks like program skeletons, subprocedure skeletons or standard comment blocks. Window->Show view->Other->General->Snippets By default there are no iSeries related snippets. Right click in the Snippet section in the view and select Customize. Click New to add a Category and name it RPG or whatever you fancy. When thats done you can create Items within it. Name the item and click New next to variables to activate variables and set Name, Description and Default value if applicable. Paste in the code you want to be involved in the snippet. Place the cursor in the Template source area and press Insert Variable Placeholder and choose one of your variables. When youre done, Ok your snippet, place the cursor in a source member and double click the snippet item you just created. Fill in your parms and BOOM youre golden

You might also like