JetBrains Rider 2019.2 Help

Parameter Name Hints

File | Settings | Editor | Parameter Name Hints for Windows and Linux
JetBrains Rider | Preferences | Editor | Parameter Name Hints for macOS
Ctrl+Alt+S the Settings/Preferences icon

This page of JetBrains Rider options allows you to configure parameter name hints for C#, VB.NET.

Note that settings on this page do not affect parameter name hints in JavaScript, TypeScript, and SQL. which could be enabled, disabled, and configured using the Show parameter name hints option on the Editor | General | Appearance settings page.



Show parameter name hints

This checkbox lets you either enable or disable the entire parameter name hints functionality.

Hide for non-literals

Hides parameter name hints for arguments that are variables, resources, expressions, or invocations allowing you to configure exceptions for specific kinds of non-literal arguments.

Hide for builder-like methods

Hide parameter name hints for methods similar to methods of System.Text.StringBuilder, which return a modified object of their containing class. Names of such methods normally make clear the purpose of their parameters.

Hide if method parameters only differ by numbered suffix

Hides parameter name hints when calling methods with signatures similar to

void DoSomething(int arg0, int arg1, int arg2, int arg3) {/*...*/}

Hide if intention of first parameter is clear from method name

Hides parameter name hint on the first argument when calling methods with signatures similar to

void SetExtension(string extension, object next) {/*...*/}

Hide if intention of argument is clear from usage

For methods with signatures similar to

void DoSomething(int value, object context) {/*...*/}
hides the value parameter name hint if the method is called like so
DoSomething(myValue, context: null);

Language-specific settings: C# & VB.NET
Hide if method is annotated as 'StringFormatMethod'

Hides parameter name hints for String.Format-like methods marked with the StringFormatMethodAttribute.

Show code annotations hints on parameter declarations

You can configure lists of method patterns for which the parameter name hints will be always hidden, independently of other preferences.
These lists work independently for different languages.

Patterns are matched against fully qualified method name, parameter count, and parameter names. For example:

  • System.Math.* matches all methods whose FQN starts with System.Math

  • System.Math.*(*, *) matches all methods from System.Math namespace with two parameters

  • (*info) matches all single-parameter methods where the parameter name ends with info

  • (key, value) matches all methods with parameters key and value

  • Put(key, value) matches all Put methods with key and value

Last modified: 29 November 2019