JetBrains Rider 2021.1 Help

Code Completion (IntelliSense)

To get you familiar with JetBrains Rider's code completion features, here are some implementation basics:

  • The suggestion list of Automatic Completion appears as soon as you start typing a new identifier. The suggestion list of Basic Completion appears when you press Ctrl+Space.

  • Two other completion commands, Type-Matching Completion Ctrl+Shift+Space and Second Basic Completion Ctrl+Alt+Space apply advanced algorithms to add more items to the suggestion list.

  • By default, all JetBrains Rider's completion features support CamelHumps, that is you can type the initial letters of a compound name parts and the name will appear in the list of suggestions.

  • When you use code completion over existing code items, you can either insert the selected completion suggestion by pressing Enter or substitute the existing identifier with the selected suggestion by pressing Tab. You can configure this behavior with the Preselect the best match to insert it by pressing dot, parentheses, and other keys and Enter inserts suggestion even if completion popup is not focused checkboxes on the Editor | General | Code Completion settings page.

  • You may want some types or namespaces not to be suggested, for example, if you have something similar to a system type in your solution, say MyFramework.MyCollections.List, but you are not actually using it. To exclude such symbols from the suggestions, add them to the Exclude from import and completion list on the Editor | General | Auto Import page of JetBrains Rider settings Ctrl+Alt+S. The format of the entries is Fully.Qualified.Name, Fully.Qualified.Name.Prefix*, or *Fully.Qualified.Name.Suffix. Generic types are specified as List`1.

  • 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.

  • When a completion list is open, you can press Ctrl+Down or Ctrl+Up to close it and move the caret down or up in the editor.

In this section:

Last modified: 29 June 2021