Skip to content

InlayHint

原文链接

https://microsoft.github.io/monaco-editor/docs.html#interfaces/languages.InlayHint.html

ts
interface InlayHint {
    kind?: InlayHintKind;
    label: string | InlayHintLabelPart[];
    paddingLeft?: boolean;
    paddingRight?: boolean;
    position: IPosition;
    textEdits?: TextEdit[];
    tooltip?: string | IMarkdownString;
}

kind

label

paddingLeft

  • 类型:boolean

paddingRight

  • 类型:boolean

position

textEdits

tooltip