An optional data field can be used to identify a type hierarchy item in a resolve request.
true
if the hierarchy item is deprecated. Otherwise, false
. It is false
by default.
Optional detail for the hierarchy item. It can be, for instance, the signature of a function or method.
The kind of the hierarchy item. For instance, class or interface.
The human readable name of the hierarchy item.
If this type hierarchy item is resolved, it contains the direct parents. Could be empty if the item does not have any direct parents. If not defined, the parents have not been resolved yet.
The range enclosing this type hierarchy item not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the clients cursor is inside the type hierarchy item to reveal in the symbol in the UI.
The range that should be selected and revealed when this type hierarchy item is being picked, e.g the name
of a function. Must be contained by the range
.
The URI of the text document where this type hierarchy item belongs to.
If this type hierarchy item is resolved, it contains the direct children of the current item. Could be empty if the item does not have any descendants. If not defined, the children have not been resolved.