GenLSP.Protocol.Structures.TypeHierarchyItem (gen_lsp v0.0.1)

@since 3.17.0

properties

Properties

name :: string (required)

The name of this item.

kind :: SymbolKind (required)

The kind of this item.

tags :: unimplemented doc type

Tags for this item.

detail :: string

More detail for this item, e.g. the signature of a function.

uri :: DocumentUri (required)

The resource identifier of this item.

range :: Range (required)

The range enclosing this symbol not including leading/trailing whitespace but everything else, e.g. comments and code.

selectionRange :: Range (required)

The range that should be selected and revealed when this symbol is being picked, e.g. the name of a function. Must be contained by the range.

data :: LSPAny

A data entry field that is preserved between a type hierarchy prepare and supertypes or subtypes requests. It could also be used to identify the type hierarchy in the server, helping improve the performance on resolving supertypes and subtypes.