beicause / call-graph

Generate call graph for vscode in svg or graphviz dot.
Apache License 2.0
73 stars 17 forks source link

Call Graph: can't resolve entry function #1

Closed phord closed 8 months ago

phord commented 2 years ago

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.

beicause commented 2 years ago

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