ReSharper | Options | Environment | Inlay Hints | General
On this page of ReSharper options, you can configure general behavior of inlay hints —configurable editor adornments that improve the readability of your code. Apart from that, you can enable and configure Virtual Formatter here.
tip
You can configure the color and font size of inlay hints — the font size can be set on the Environment | Inlay Hints | General page of ReSharper options Alt+R, O, the font color — in Visual Studio options: go to Tools | Options | Environment | Fonts and Colors and find the ReSharper Inlay Hint in the list of display items.
Enable Inlay Hints
Lets you either enable or disable the entire inlay hints functionality in all languages.
You can toggle this option right from the editor with the shortcut.
Reserve press-and-hold and double-tap of the Ctrl key for Push-To-Hint
You may need to clear this checkbox if the press-and-hold or double-press of the Ctrl key is already bound to some other actions in your OS or other applications .
Push-to-Hint long tap duration
When you press and hold the Ctrl key, Inlay Hints appear with a delay to prevent them from showing unintentionally when Ctrl is used as part of a keyboard shortcut for other actions. By default, the delay is 500 milliseconds. Use this selector to adjust the delay.
Default visibility
Use the selector to choose how inlay hints in all languages should be displayed in the editor (you can override visibility for each language on language-specific pages in this section) : 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.
Font size
Inline Hints scale
Use this selector to change the font size of inlay hints, for example, parameter name hints. 1.0 means the same as the editor font.
Interline Hints scale
Use this selector to change the font size of interline hints, for example, trailing local function hints. 1.0 means the same as the editor font.
note
ReSharper's settings are saved in settings layers, which allow you to have different settings for different solutions and to share your settings with your team.