Method call usage graph and maven dependency graph, click to navigate
生成 方法调用图 和 Maven 依赖图,点击跳转
- Java, Kotlin, Groovy, Scala
- C/C++/OC, Python, Go, Rust, Ruby
- JS/TS, PHP
One file call graph or all pom.xml dep graph:
- Open Graph ToolWindow at Right
- Open pom.xml/.java/.py... file
Multi file call graph or partial pom.xml dep graph:
- Select multi files in the same language
- Open Right Click Menu
- Select Call Graph
Install Graphviz and set xx/bin to env Path for PlantUML and Graphviz.
Only support 2020.2+ because mermaid.js only use in jcef(chrome),
2020.1- is JavaFx WebView.
- Show doc comment in the Project view Tree, line End, json etc.: Show Comment
- show line count for file / method, show children count for dir in project view:Line Num
- Method call usage graph and maven dependency graph: Draw Graph
- Find author/comment of multiple files or lines and export Find: Find Author
- Auto sync coverage and capture coverage during debug: Sync Coverage
单个文件调用图 或 所有 pom.xml 依赖图:
- 打开右边的图工具栏
- 打开 pom.xml/.java/.py 等文件
多个文件调用图 或 部分 pom.xml 依赖图:
- 选择多个同语言的文件
- 打开右键菜单
- 选择调用图
安装 Graphviz 并设置 bin 目录为环境变量以便使用 PlantUML 和 Graphviz。
只支持 2020.2 以上因为 mermaid.js 只能在 jcef(chrome) 中使用,
2020.1 以下用的是 JavaFx WebView。
- 在文件树、行末、JSON 显示注释:Show Comment
- 在文件树显示行数、文件数:Line Num
- 生成 方法调用图 和 Maven 依赖图:Draw Graph
- 查找多个文件或行的作者 与 导出搜索:Find Author
- 自动同步覆盖率 和 调试中抓取覆盖率:Sync Coverage
如果对你有所帮助,可以通过群或文章等形式分享给大家,在插件市场好评, 或者给本项目 本项目 GitHub 主页 一个 Star,您的支持是项目前进的动力。
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "draw-graph" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.