Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months ago
JSON representation
🦀 A LSP-based interative call graph generator
- Host: GitHub
- URL: https://github.com/chanhx/crabviz
- Owner: chanhx
- License: apache-2.0
- Created: 2022-02-16T15:00:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-17T01:51:41.000Z (4 months ago)
- Last Synced: 2024-08-17T02:50:04.184Z (4 months ago)
- Topics: c, callgraph, cpp, go, java, javascript, language-server-protocol, lsp, python, rust, static-analysis, typescript, vscode
- Language: Rust
- Homepage:
- Size: 408 KB
- Stars: 661
- Watchers: 9
- Forks: 20
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
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 graphsYou 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).