CLion 2021.3 Help

Surround 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. Press Ctrl+Alt+J.

  3. Select the desired template from the suggestion list.

Last modified: 29 June 2021