GithubHelp home page GithubHelp logo

call-graph's People

Contributors

beicause avatar jotavemonte avatar sulfurandcu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

call-graph's Issues

Can't get outgoing calls graph

I get a complete incoming calls graph, but no outgoing. Whenever I attempt to create an outgoing calls graph I get a graph with only 1 node, the call I tried to originate from.

Using clang language server with a compile_commands.json made from Bear Intercept-Build

Any notion of how I could fix/troubleshoot this?

Add incoming calls graph

vscode's API support IncomingCalls, but the extension currenly just support outgoing calls. Incoming calls is a good feature to investigate which entrypoints leads to some code.
I'll open a PR adding this funcionality.

is it working on Clangd?

Hi everyone,

I try to use it to show call graph.

It seems only display current file only. no any dependency tree

hope anyone can help clarify is it support clangd related extension.

Thanks for your reading :)

Depth

Hello there. I have another question / suggestion:

Is there a way to manage the number of levels that you want to go trough? I mean... I have a use case where I only want to generate the incoming call-graph of all the direct (one level) methods, with their respective file subgraphs?

Can't get both incoming and outgoing call graph's

I see I am able to get incoming call graph for few functions but for few functions I couldn't get it. But regarding outgoing call graph, I am not able to get it for any function.

I am using visual studio code in ubuntu 20.

Call Graph: can't resolve entry function

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.

Ignore file path or module name patterns

There are some modules that aren't very helpful in the debugging context, as dependencies files and test files. Would be great if we could ignore some patterns in the options, so, when we call the rendering functions, we have a lean output. I can work on it next week.

What is the actual license, please?

The package.json file specifies that the license is MIT, while the LICENSE file specifies that the license is Apache 2.0. Which is the actual one, please?

Thank you.

Roadmap

Current features of this extension is stable. Here are further works that I consider:

  • Switch to Mermaid Make graph nicer.

Mermaid is popular and supports theming. Its digrams are more beatiful than graphviz. However it seems heavily depend DOM and have bug to export SVG. I decide to keep graphviz.

  • Setup Github CI/CD. Completed since v1.2.0
  • Improve performance.

Currently the graphviz generator is not parallel and can be improved. Or rewrite the generator with native language. The second improvement may be limited, because the performance of language servers (depending on their own implementation) is a bottleneck, but we can render SVG in native instead of rendering in vscode webview with d3-graphviz(wasm).

.callgraphignore file doesn't work

I use the default setting for call-graph.ignoreFile, the content of .callgraphignore just like this:

thrift_gen

when i use callGraph to show outgoing call graph, the thrift_gen file still show in graph

Improvement: Extension icon

Summary

Currently, the extension icon is a preview. Design submissions are welcome to improve it following the benchmark of other official extensions.

Benchmark

when use workspace in vscode , .callgraphignore file can not work

When using vscode's workspace, and it contains multiple projects
.callgraphignore file can not work well
For example, the workspace contains projects A and B.
.callgraphignore file is created in project B.
The file defines that *test.go is ignored, but the setting does not take effect.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.