mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
The built-in MCP server had no call hierarchy, so agents fell back to text search for callers. get_call_hierarchy returns one level of callers (default) or callees of the function at a position through lsp_call_hierarchy, with call sites and their line text, paging and scope like find_references; a position inside a body means the enclosing function. ide-lsp reports the hierarchy's root and the file of an outgoing call's sites. find_references now shares the document guard and the cancel/timeout race with it. Co-authored-by: lleviathe <95321986+lleviathe@users.noreply.github.com>