Skip to content

liuwei1025/call-graph

 
 

Repository files navigation

call-graph

call-graph vscode extension for generate call graph in graphviz dot language, based on vscode call hierarchy language feature.

Features

  • generate call graph in dot language and preview.
  • save graph as dot or svg file

Quick start

  1. Open your folder and select a entry function
  2. Run CallGraph.showOutgoingCallGraph command using Ctrl+Shift+P or context menu to show outgoing calls
  3. Or Run CallGraph.showIncomingCallGraph command using Ctrl+Shift+P or context menu to show incoming calls
  4. Add .callgraphignore file in your project root directory to ignore some files or folders

How it works

It depends vscode.provideOutgoingCalls and vscode.provideIncomingCalls built-in commands( the same with Show Call Hierarchy command, not available for some language server ).

For more information

Enjoy!

About

call graph for vscode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%