20

In Jetbrains Rider the type of a 'var' declared variable is shown as hint by default. I don't want that. How can I get rid of it?

enter image description here

5

3 Answers 3

13

Disable Parameter Name Hints as shown below:

Disable Parameter Name Hints

0
5

In JetBrains Rider 2022.2, I found the checkbox Enable Inlay Hints in .NET languages under
Settings --> Editor --> Inlay Hints.

Screenshot of the Settings dialog box in JetBrains Rider 2022.2, displaying the path Editor --> Inlay Hints --> checkbox 'Enable Inlay Hints in .NET languages'

That solved it for me.

1

It is not in Inlay settings but under "Syntax Style".

enter image description here

1
  • 1
    As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Commented May 1, 2022 at 16:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.