| 3225 | `)}function OHK(q,K){if(!q.uri)return N("formatCallHierarchyItem: CallHierarchyItem has undefined URI",{level:"warn"}),`${q.name} (${TR6(q.kind)}) - <unknown location>`;let _=h88(q.uri,K),z=q.range.start.line+1,Y=TR6(q.kind),$=`${q.name} (${Y}) - ${_}:${z}`;if(q.detail)$+=` [${q.detail}]`;return $}function XHK(q,K){if(!q||q.length===0)return"No call hierarchy item found at this position";if(q.length===1)return`Call hierarchy item: ${OHK(q[0],K)}`;let _=[`Found ${q.length} call hierarchy items:`];for(let z of q)_.push(` ${OHK(z,K)}`);return _.join(` |
| 3226 | `)}function PHK(q,K){if(!q||q.length===0)return"No incoming calls found (nothing calls this function)";let _=[`Found ${q.length} incoming ${A7(q.length,"call")}:`],z=new Map;for(let Y of q){if(!Y.from){N("formatIncomingCallsResult: CallHierarchyIncomingCall has undefined from field",{level:"warn"});continue}let $=h88(Y.from.uri,K),A=z.get($);if(A)A.push(Y);else z.set($,[Y])}for(let[Y,$]of z){_.push(` |
| 3227 | ${Y}:`);for(let A of $){if(!A.from)continue;let O=TR6(A.from.kind),w=A.from.range.start.line+1,j=` ${A.from.name} (${O}) - Line ${w}`;if(A.fromRanges&&A.fromRanges.length>0){let H=A.fromRanges.map((J)=>`${J.start.line+1}:${J.start.character+1}`).join(", ");j+=` [calls at: ${H}]`}_.push(j)}}return _.join(` |
| 3228 | `)}function WHK(q,K){if(!q||q.length===0)return"No outgoing calls found (this function calls nothing)";let _=[`Found ${q.length} outgoing ${A7(q.length,"call")}:`],z=new Map;for(let Y of q){if(!Y.to){N("formatOutgoingCallsResult: CallHierarchyOutgoingCall has undefined to field",{level:"warn"});continue}let $=h88(Y.to.uri,K),A=z.get($);if(A)A.push(Y);else z.set($,[Y])}for(let[Y,$]of z){_.push(` |
| 3229 | ${Y}:`);for(let A of $){if(!A.to)continue;let O=TR6(A.to.kind),w=A.to.range.start.line+1,j=` ${A.to.name} (${O}) - Line ${w}`;if(A.fromRanges&&A.fromRanges.length>0){let H=A.fromRanges.map((J)=>`${J.start.line+1}:${J.start.character+1}`).join(", ");j+=` [called from: ${H}]`}_.push(j)}}return _.join(` |
| 3230 | `)}var DHK=y(()=>{_8();y8()});var S88="LSP",Qe1=`Interact with Language Server Protocol (LSP) servers to get code intelligence features. |
| 3231 | |
| 3232 | Supported operations: |