Generative completion

Last modified: 11 February 2024

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 .

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