Adding Language Elements
The Language Elements window includes common language constructs and templates for performing common operations, such as creating arrays, or for blocks, which you can insert into a method. You can also add string utilities, variable declarations and conversions, progress information and error messages, file handling, user interface components, code for sending emails, and other useful language elements. Double-click to insert an expression, or right-click and choose Insert Template (). Use the search field at the top to filter the list of available constructs and templates.
Some actions use the current editor selection in the template — for example, putting the current selection within the Multiline comment template. The part of the template that you are most likely to change is selected or the cursor is positioned there.