Snippets view

The Snippets view allows developers to build a library of reusable assets which can be very useful in capitalizing on your organization's knowledge, encouraging coding standards and improving productivity.

The snippets are organized in categories. If you open a category, you will be able to double click on an individual snippet in order to insert it at the cursor in the open editor. If the snippet has parameters, the Insert Template dialog will open, allowing the template to be customized before it is inserted. For each parameter, its description will appear in the top left entry field. The template as it will be inserted into the source appears at the bottom of the dialog. The operation can be cancelled using the Cancel button or committed by hitting the Insert button.

IBM® has provided a number of useful snippets to start with. This includes COBOL, SQL, CICS® and even Makefile snippets, which will make building your projects on AIX® even easier.

All of the categories and snippets have flyover descriptions. Taking the time to browse the categories and descriptions will help you find the right snippet for the right occasion.

You can also create your own snippets using the Customize... action from the context menu.

The Customize Palette dialog will let you construct new categories and snippets and reorder them and share with others using Import and Export.

The Snippets view toolbar allows you to insert snippets by toolbar button or menu button. You can also cut and paste snippets between categories.

You can also drag snippets from the snippet view into the desired location in your source editor.


Feedback