Tools menu

Code Templates

Code templates are small pieces of code that you assign a name to and use with one language. When you edit a file of that language you can then type in the name of the code template and click the Apply Code Template menu item. The name will then be replaced with the code you have assigned. You can use the Keyboard page of the Options dialog box to assign a shortcut key to the ApplyCodeTemplate command (Ctrl+Enter is the default).

You use the Code Template Manager to create your templates.



Use the Caret Position button to determent where the text caret should be placed after the template has been inserted.

See also: File Templates