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

Generative completion

Last modified: 08 July 2022

One of the easiest way to generate code with JetBrains Rider is to use code completion — all you need to do is to type several characters. Code generation suggestions are included in the lists of Automatic completion and Basic completion.

Here are a few examples of how you can generate code with code completion.

When you select items in completion lists using keyboard, the selection will jump to the first item after the last item and vice versa. You can disable this behavior by clearing Cyclic scrolling in list on the Appearance and Behavior | Appearance page of JetBrains Rider settings Ctrl+Alt+S.

You can access code completion settings right from the completion popup — click App actions more at the bottom of the popup and select Code Completion Settings.