Traverses up the tree from the given node and attaches decorations to any parents.
Returns true
if the diagnostic (data
) of the marker argument has Error
, Warning
, or Information
severity.
Otherwise, returns false
.
Get the decoration for a given marker diagnostic. Markers with higher severity have a higher priority and should be displayed.
the diagnostic marker.
since 1.25.0 URI-based decorators should implement
DecorationsProvider
and contribute decorations via theDecorationsService
.