Interface IEditorInlayHintsOptions

Configuration options for editor inlayHints

interface IEditorInlayHintsOptions {
    enabled?: "off" | "on" | "offUnlessPressed" | "onUnlessPressed";
    fontFamily?: string;
    fontSize?: number;
    padding?: boolean;


enabled?: "off" | "on" | "offUnlessPressed" | "onUnlessPressed"

Enable the inline hints. Defaults to true.

fontFamily?: string

Font family of inline hints. Defaults to editor font family.

fontSize?: number

Font size of inline hints. Default to 90% of the editor font size.

padding?: boolean

Enables the padding around the inlay hint. Defaults to false.