14

How to turn off types hints in Visual Studio 2019 C# code editor? enter image description here

canton7
  • 37,633
  • 3
  • 64
  • 77
Maxim Kitsenko
  • 2,042
  • 1
  • 20
  • 43
  • 7
    Do you happen to be using resharper? – André Sanson Jan 13 '20 at 12:02
  • 2
    That was also my thought. Maybe this is really about [ReSharper](https://www.jetbrains.com/resharper/) (R#); in that case, the tags should be edited accordingly. – Jeppe Stig Nielsen Jan 13 '20 at 12:04
  • 2
    "ReSharper | Options | Environment | Editor | Inlay Hints" - from https://www.jetbrains.com/help/resharper/Inline_Parameter_Name_Hints.html – stuartd Jan 13 '20 at 12:05
  • For the R# hints, right-click on a hint anywhere in the code and select Hide all hints from the context menu – pasx Aug 01 '23 at 16:26

2 Answers2

15

Thanks to the comments on the question I managed to find out this is the R# option is called 'inlay hints' and it can be configured and turned off in resharper option menu.

VS -> Tools -> Options -> Resharper Ultimate -> Options -> Environment -> Editor -> Inlay Hints

enter image description here

Maxim Kitsenko
  • 2,042
  • 1
  • 20
  • 43
4

I guess you're using ReSharper. And this hints are called Inlay Hints

Dennis Meissel
  • 1,825
  • 1
  • 21
  • 33