ReSharper 2023.3 Help

Parameter Information

Whenever you are writing or studying a function call, ReSharper helps you view details on the allowed arguments for all overloads of the function. In a popup, you will see all public signatures with parameters and brief description taken from the function's XML documentation, if it is available .

Use Parameter Info

As you are typing parameters, ReSharper automatically highlights the next signature compatible with the entered parameters, and grays out inapplicable signatures. To study alternative signatures of an existing function call, place the caret inside the function's parentheses and then press Control+P or choose ReSharper | Edit | Parameter Information from the main menu.

Viewing available method signatures using the ReSharper's parameter information popup

When the parameter information popup is shown, you can press Control+P/Control+Alt+Shift+Space or use arrow buttons to scroll through the list of method overloads.

The parameter information popup is displayed as long as you type or move the caret within the method parentheses; you can close it by pressing Escape.

Configure Parameter Info

By default, the parameter information popup appears as soon as you type the opening parenthesis of a function call. If necessary, you can disable the automatic appearance or display the popup after a timeout using the Automatically show parameter info in preference on the Environment | IntelliSense | Parameter Info page of ReSharper options (Alt+R, O) . If the automatic appearance is disabled, you can always show the parameter information popup by pressing Control+P while your caret is inside the function's parentheses.

You can further configure the parameter information popup on the Environment | IntelliSense | Parameter Info page of ReSharper options in the following ways:

  • By default, available signatures are displayed in a list. If necessary, you can limit the number of signatures in the list or make ReSharper show only one signature at a time:

    ReSharper: Parameter information

    To do so, use the Display all signatures at once preference.

  • By default, delegates are displayed in their original form. If necessary, ReSharper can display them in lambda syntax. To enable this behavior, select the corresponding checkbox.

  • IF you do not want to see the function summary information, clear the Display extended info checkbox.

  • By default, ReSharper displays [NotNull] and [CanBeNull] annotations. If necessary, you can hide or show all JetBrains.Annotations attributes in the function signatures using the Annotations selector.

  • ReSharper can display the parameter information popup either below or above the current line. To specify the desired position, open the Environment | IntelliSense | Completion Behavior page of ReSharper options, click Advanced and use the Parameter Info default location selector.

    Note that even if you opt for the lower position of the popup, it can be shown above when the popup appears automatically as you type and ReSharper shows some suggestions in a code completion list at the same time. When you invoke the popup with the Control+P shortcut, it always appears in the preferred position.

This feature is supported in the following languages and technologies:

Language: C#

Language: VB.NET

Language: C++

Language: HTML

Language: ASP.NET

Language: Razor

Language: JavaScript

Language: TypeScript

Language: CSS

Language: XML

Language: XAML

Language: Resx

Language: Build Scripts

Language: Protobuf

Language: JSON

Feature is available in C#

Feature is available in Visual Basic

Feature is available in C++

Feature is available in HTML

Feature is available in ASP.NET

Feature is available in Razor

Feature is available in JavaScript

Feature is available in TypeScript

Feature is available in CSS

Feature is not available in XML

Feature is not available in XAML

Feature is not available in Resource files

Feature is not available in build script files

Feature is not available in Protobuf

Feature is not available in JSON

The instructions and examples given here address the use of the feature in C#. For more information about other languages, refer to corresponding topics in the ReSharper by language section.

Last modified: 18 March 2024