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

Basic completion

Last modified: 21 July 2022

ReSharper | Edit | Complete Symbol

Ctrl+Space (ReSharper_CompleteCodeBasic)

ReSharper's automatic completion suggests names of classes, methods, variables, keywords, and any other symbols that are available within the current visibility scope including extension methods that were previously imported. Many other context-specific suggestions, like live templates, code generation suggestions, unit test categories are also available in the completion list.

By default, suggestions of automatic completion also include items from Smart completion and Import Symbol Completion. If you want to change the default behavior, use the corresponding controls on the Environment | IntelliSense | Completion Behavior page of ReSharper options (Alt+R, O).

The list of suggestions is similar to that of Automatic completion.

When you use code completion over existing code items, you can either insert the selected completion suggestion before the existing item by pressing Enter or replace the existing identifier with the selected suggestion by pressing Tab. If necessary, you can change the default shortcuts on the Environment | IntelliSense | Completion Characters page of ReSharper options (Alt+R, O).

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 Loop selection around ends of a list on the Environment | IntelliSense | Completion Appearance page of ReSharper options (Alt+R, O).