To create a code fragment using a live template
  1. In the text editor, put the caret in an appropriate position.
  2. Do one of the following:
    • Type a template shortcut or its initial letters.
    • On the main menu, choose ReSharper | Edit | Insert Live Template.
    • Press Ctrl+J.
  3. Select a template from the suggestion list, and press Tab or Enter. The template expands into a code fragment.
  4. If the expanded template requires user input, the editor switches to the template editing mode and suggests an input position. Type an appropriate value, or accept the default value suggested by ReSharper, and press:
    • Tab or Enter to move to the next input position.
    • Shift+Tab to move the input focus to the previous input position.
    • Esc to switch off the template editing mode and move the caret to the end position defined by template developer.