| 3215 | ${A}`}let _=AHK(q)?$HK(q):q;return`Defined in ${km8(_,K)}`}function jHK(q,K){if(!q||q.length===0)return"No references found. This may occur if the symbol has no usages, or if the LSP server has not fully indexed the workspace.";let _=q.filter((A)=>!A||!A.uri);if(_.length>0)N(`formatFindReferencesResult: Filtering out ${_.length} invalid location(s) - this should have been caught earlier`,{level:"warn"});let z=q.filter((A)=>A&&A.uri);if(z.length===0)return"No references found. This may occur if the symbol has no usages, or if the LSP server has not fully indexed the workspace.";if(z.length===1)return`Found 1 reference: |
| 3222 | ${_}`}return _}function TR6(q){return{[1]:"File",[2]:"Module",[3]:"Namespace",[4]:"Package",[5]:"Class",[6]:"Method",[7]:"Property",[8]:"Field",[9]:"Constructor",[10]:"Enum",[11]:"Interface",[12]:"Function",[13]:"Variable",[14]:"Constant",[15]:"String",[16]:"Number",[17]:"Boolean",[18]:"Array",[19]:"Object",[20]:"Key",[21]:"Null",[22]:"EnumMember",[23]:"Struct",[24]:"Event",[25]:"Operator",[26]:"TypeParameter"}[q]||"Unknown"}function JHK(q,K=0){let _=[],z=" ".repeat(K),Y=TR6(q.kind),$=`${z}${q.name} (${Y})`;if(q.detail)$+=` ${q.detail}`;let A=q.range.start.line+1;if($+=` - Line ${A}`,_.push($),q.children&&q.children.length>0)for(let O of q.children)_.push(...JHK(O,K+1));return _}function MHK(q,K){if(!q||q.length===0)return"No symbols found in document. This may occur if the file is empty, not supported by the LSP server, or if the server has not fully indexed the file.";let _=q[0];if(_&&"location"in _)return Ue1(q,K);let Y=["Document symbols:"];for(let $ of q)Y.push(...JHK($));return Y.join(` |