Code Templates in C++
All ReSharper's code template features are also supported in C++. You can find the detailed information on these features in the corresponding topics of the Code Templates section.
In this topic:
Live/Surround templates can be used for generating code in existing files and (if there is the
$SELECTION$ parameter in the template body) for surrounding code fragments with template code, such as
try...catch statement. Each live template is identified by a Shortcut - a short string of characters, e.g. foreach - that you can type right in the editor to invoke the template.
File templates are used to create one or more new files with predefined code, such as a type declaration, unit test, etc. File templates have no shortcuts, they are identified by their descriptions. See Creating Files from Templates and Creating Multi-File Templates for details.
A file template can create more than one file when you apply the template. This may be helpful when related data is saved in different files.