Class InlayHint

java.lang.Object
org.javacs.lsp.InlayHint

public class InlayHint extends Object
Copied from lsp4j.
  • Field Details

    • position

      public Position position
      The position of this hint.
    • label

      public String label
    • kind

      public InlayHintKind kind
      The kind of this hint. Can be omitted in which case the client should fall back to a reasonable default.
    • paddingLeft

      public Boolean paddingLeft
      Render padding before the hint.

      Note: Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

    • paddingRight

      public Boolean paddingRight
      Render padding after the hint.

      Note: Padding should use the editor's background color, not the background color of the hint itself. That means padding can be used to visually align/separate an inlay hint.

    • data

      public Object data
      A data entry field that is preserved on a inlay hint between a textDocument/inlayHint and a inlayHint/resolve request.
  • Constructor Details