Coder Social home page Coder Social logo

call-graph's People

Contributors

beacoder avatar brightchikudza avatar kjmatsuda 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  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  avatar  avatar  avatar  avatar

call-graph's Issues

call-graph multiple sessions

Is there a way to switch back to older window? for example I look at the call hierarchy on a() and it shows b() and c(). Then I run call-graph on f() which shows me g() and h(). Great. Now I want to return to the previous output of call-graph (which shows a()'s hierarchy).

after installing call-graph by MELPA, the graph generated is "◆ nil"

I have been using gtags in a project of mine just fine. However, when cursor is over a function and I call call-graph, the graph generated is empty: "◆ nil"

For what I understood from the readme, if I already have global database generated in the souce code then the procedure above should work. Right?

Thank you for this package. Very useful. I have been doing this kind of graph by "hand" when dealing with many nested functions.

Not work in tramp mode

The tool is great, very good in local environment.
But get no any output when project is in remote tramp mode.

I think it's should be relevant with file path issue, maybe need to handle "/ssh:usr@server#portnumber:" such like string in path by file-remote-p series interface, but not sure if right or how.

Could you support this tool in tramp?
It will be very versatile then.

Thanks!

有没有兴趣做arbitrary symbol hierarchy (call, member, base/derived)

emacs-lsp/lsp-ui#73

您可以从
https://github.com/cquery-project/cquery/wiki/Emacs
看起

这几个 language server protocol 的 cquery 扩展没有可视化

$cquery/inheritanceHierarchy is a kind of inheritance hierarchy (base/derived classes, base/overriden methods)
$cquery/memberHierarchy is a kind of member hierarchy.
$cquery/callerTreeInitial is a kind of call hierarchy.

如果不需要树形可视化的化
$cquery/derived
$cquery/base

就靠您了

https://emacs-china.org/t/topic/5131/2 看到的。也欢迎到 https://gitter.im/cquery-project/Lobby 讨论

Basic customization required

Looks like a promising package. Thanks.
A couple of comments:

  • It should be possible to customize the location of the global binary
  • It would be beneficial to process c files as well. This requires changing the command line in call-graph--find-references (which ideally should be customizable as well).
  • The first invocation of call-graph worked ok, but subsequent ones showed the call graph of the first call, i.e. ignoring the function I actually invoked call-graph for.

Cheers,
Shmul

syntax rules

Is it possible to make a rule for macros which define functions? For example if I have a macro like:

#define DEFINE_FUNC(func_name, arg_for_g) { void func_name (arg_for_g) { g(arg_for_g); } } DEFINE_FUNC(f, "Hello")

When I call call-graph on g(), how can I make call-graph print "func_name" but not "DEFINE_FUNC"?
I understand that gtags returns DEFINE_FUNC as the caller of g, but I am sure there is a way to define a rule which will substitute DEFINE_FUNC with the first word after the "("...
Please advice how can I implement it.
Thanks :)

Add more logic to decide one function's caller.

Select function's caller based on function's signature, including
argument numbers, argument name's resemblance.

  1. Is argument number matched well ? => value1, weigh1
  2. Does argument name match parameter well ? => value2, weigh2

Formular: weigh1 * value1 + weigh2 * value2.

max-depth meaning

does max-depth should represent the depth of the deepest item in the graph? If so there is a bug:
when I specify max-depth to 13 I see a lot of items on level 9 which are yellow colored (non-expandable). When I call the graph on these items it works fine

Undo operation

Is there a way to undo a deleted item from the graph? When I delete an item is is never shown again (even if I close the buffer and call call-graph again on the same function)

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.