ReSharper 2025.1 Help

Code templates in SQL and NoSQL

Most of ReSharper's code template features are also supported in SQL. You can find the detailed information on these features in the corresponding topics of the Code templates section.

Live Templates

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.

Each live template is identified by a Shortcut — a short string of characters, for example sel — that you can type right in the editor to invoke the template.

ReSharper provides plenty of predefined live templates. You can also create custom live templates in the dedicated editor or right from existing source code.

ReSharper: Adding SQL code via a live template
29 March 2025