ReSharper 2024.2 Help

C++ Parameter Name Hints

ReSharper options: Environment | Inlay Hints | C++ | Parameter Name Hints

Use this settings page to configure inlay hints for parameter names at function calls.

Visibility

Use the selector to choose how parameter name hints should be displayed in the editor: choose Default to apply the general visibility preference from the Environment | Inlay Hints | General page of ReSharper options , choose Show Always or Never Show to always show or hide hints, or choose Push-to-Hint to hide the hints by default but show them when you press and hold Ctrl.

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, which return a modified object of their containing class. Names of such methods normally make the purpose of their parameters clear.

Hide if method parameters only differ by numbered suffix

Hides parameter name hints when calling methods with signatures similar to

void foo(int p0, int p1, int p2, int p3);

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 do_stuff(int stuff, int a, int b);

Hide if intention of argument is clear from usage

For functions with signatures like

void foo(int parameter_one, int parameter_two);

parameter name hints will be hidden for both arguments:

void bar(int One, int ParameterTwo) { foo(One, ParameterTwo); }

Hide parameter name hints in macro calls

Hints for macro calls provide the details from substitution:

ReSharper: Inlay hints. Macro calls.

Show inlay hints in dependent C++ code

This option lets you show type name hints in cases similar to the following one:

ReSharper C++: parameter name hints in dependent code

You can configure a list of method patterns for which the parameter name hints will be always hidden, independently of other preferences.

No parameter name hints will be shown for methods or parameters matching any of the specified patterns.

Last modified: 11 February 2024