Resolves how a ref badge is presented: the provider-supplied codicon icon when available (VS Code renders ref.icon unconditionally), otherwise a category fallback with the target icon marking the current ref; plus the ref-based color index.
ref.icon
target
Resolves how a ref badge is presented: the provider-supplied codicon icon when available (VS Code renders
ref.iconunconditionally), otherwise a category fallback with thetargeticon marking the current ref; plus the ref-based color index.