JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Live templates

Last modified: 28 March 2023

Expand a live template: Tab

Configure: Ctrl+Alt+S Settings/Preferences | Editor | Live Templates | Other Languages

Use live templates to insert common constructs into your code, such as loops, conditions, declarations, or print statements.

To expand a code snippet, type the corresponding template abbreviation and press Tab. Keep pressing Tab to jump from one variable in the template to the next one. Press Shift+Tab to move to the previous variable.

https://resources.jetbrains.com/help/img/rider/2023.1/ws_react_live_template.png
Gif