Hover

Hover Type

If there is JSON Schema information, Tombi will display executable types as hover information as shown in the following table.

JSON SchemaHover Type
type: booleanBoolean
type: integerInteger
type: numberFloat
type: stringString
type: string, format: date-timeOffsetDateTime
type: string, format: partial-date-timeLocalDateTime
type: string, format: dateLocalDate
type: string, format: partial-timeLocalTime
type: arrayArray
type: objectTable

Also, the following abbreviations are used for Composition Type and Null described in JSON Schema.

JSON SchemaHover Type
oneOfString ^ Boolean
anyOfString | Boolean
allOfString & Boolean
nullString?
💡Tip

To shorten the display character on the hover, the name of the definitions in the JSON Schema is not used, and the type is displayed as the TOML Basic Type like String, Boolean, and Array, etc.

Therefore, the & that indicates the relationship of allOf does not appear on hover if you are using the correct JSON Schema.