call-graph icon indicating copy to clipboard operation
call-graph copied to clipboard

Call Graph: can't resolve entry function

Open phord opened this issue 2 years ago • 1 comments

I'm using ccls and Remote-SSH. I can use "Peek references" to see refs for the function my cursor is on. But when I try to show a callgraph, I get this error:

Call Graph: can't resolve entry function

Maybe it has to do with my environment. Some other language server features do not work reliably but most have no problem.

phord avatar Apr 04 '22 23:04 phord

This extension depends Call Hierarchy, which is a new feature since LSP3.16 so it may be unreliable in some language server. It should work if you can use Show Call Hierarchy

beicause avatar Apr 05 '22 00:04 beicause