27k1
27k1

Reputation: 2369

How to disable parameter name hints in the Visual Studio 2022 editor?

How can I disable the editor parameter-name text which has started to show since a recent update? In this array example "index:" is shown.

Sample of VS2022 code

Upvotes: 2

Views: 1296

Answers (1)

gunr2171
gunr2171

Reputation: 17447

This is called "Inline Hints" in Visual Studio. You can customize which are shown by going to

Tools Menu > Options > Text Editor > C# > Advanced > "Inline Hints" group

enter image description here

Turn the setting on and off as you like. In your particular case, you're looking for the "Show hints for indexers" option.

Upvotes: 4

Related Questions