Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chanhx/crabviz

🦀 A LSP-based interative call graph generator
https://github.com/chanhx/crabviz

c callgraph cpp go java javascript language-server-protocol lsp python rust static-analysis typescript vscode

Last synced: 12 days ago
JSON representation

🦀 A LSP-based interative call graph generator

Awesome Lists containing this project

README

        

# Crabviz

Crabviz is a [LSP](https://microsoft.github.io/language-server-protocol/)-based call graph generator. It leverages the Language Server Protocol to generate interactive call graphs, helps you visually explore source code.

## Features

* Workable for various programming languages
* Highlight on click
* Two kinds of graphs

You can generate a call graph for selected files to get an overview, or a selected function to track the call hierarchy.
* Export call graphs as SVG

## Preview

![preview](https://raw.githubusercontent.com/chanhx/assets/main/crabviz/preview.gif)

## Install

Since Crabviz utilizes the capabilities of language servers, it is better suited as an IDE/editor extension than a standalone command line tool.

It is currently available on [VS Code](https://marketplace.visualstudio.com/items?itemName=chanhx.crabviz), and PRs for other editors are welcome.

## Credits

Crabviz is inspired by [graphql-voyager](https://github.com/graphql-kit/graphql-voyager) and [go-callvis](https://github.com/ondrajz/go-callvis).