Project Level Code Templates

Project level code templates are available in autocomplete only for the respective project. You cannot use them in other projects - as opposed to Global Code Templates.

../../_images/project-code-templates-pref-page.png

To see the list of project level code templates right-click on a project in Navigator ‣ Properties ‣ DVT ‣ Code Templates.

Click the New button to define a new template.

Note

The template name is important for autocomplete proposal filtering based on already typed text! See more details at Code Templates in Autocomplete.

../../_images/project-code-templates-proposal.png

After selecting a template, press Enter and it is automatically inserted at the current position in the active editor.

../../_images/project-code-templates-proposal-applied.png