Table of Contents

Inlays

Inlay hints can be used to give users explicitly information that can be inferred and thus do not need to be part of the text. This is often used to show the result of type inference or trace information.

Default Implementation in AnyText

By default, no code inlays are provided.

Customizations

Inlays are controlled via the method GetInlayHintText that can be overridden on any Rule. The method returns an instance of InlayEntry that allows to decide whether the inlay text should be rendered before or after the given rule application.