CLion 2019.2 Help

Surrounding with Live Templates

Surround a block of code with a live template

  1. In the editor, select the piece of code to be surrounded.

  2. Do one of the following:

    • On the main menu, choose Code | Surround With Live Template....

    • Press N/A

  3. Select the desired template from the suggestion list.

Last modified: 16 August 2019