C# Interceptor Hints
File | Settings | Editor | Inlay Hints | C# | Interceptor Hints for Windows and Linux
JetBrains Rider | Settings or Preferences | Editor | Inlay Hints | C# | Interceptor Hints for macOS
CtrlAlt0S
note
Preferences configurable on this page are saved using the mechanism of layer-based settings.
Use this settings page to configure Inlay hints for C# interceptors in C#.
tip
You can configure the color of inlay hints on the Editor | Color Scheme | Language Defaults settings page CtrlAlt0S — choose the Inline parameter hints | Default item.
The [InterceptsLocation] annotation on the interceptor method has a hint that allows you to navigate to the intercepted call:

Use the Visibility selector to choose how inlay hints for interceptor methods should be displayed in the editor: choose Default to apply the general visibility preference from the Editor | Inlay Hints | General page of JetBrains Rider settings , 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.
Inlay hints will help you spot intercepted calls, with the additional ability to navigate to the interceptor method with AltEnter or with Ctrl+click on the hint icon:

Use the Visibility selector to choose how inlay hints for [MustDisposeResource] annotations should be displayed in the editor: choose Default to apply the general visibility preference from the Editor | Inlay Hints | General page of JetBrains Rider settings , 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.
Do not show hints for calls intercepted by the following source generators: | Use this area to list fully qualified names of source generators to ignore interceptors produced by them. |