Inline hints

You need to do the following steps to enable the Inline Hints:

  1. Go to Tools > Options > Text Editor > C# > Advanced.
  2. Check the Display inline parameter name hints checkbox.
  3. Check the Display inline type hints checkbox.

Inline parameter name hints will show you the parameters name when you are using a function, this is very helpful especially when you are trying to make a call to a function that has so many parameters and you have to pass most of them.

When Inline parameter name hints is turned on:

The Inline type hints will show hints when you are working with types as you can see in the following code where I initialize a Dog object and assign it to a var.

When Inline type hints is turned on:

In the following code both Inline parameter name hints and Inline type hints are turned on: