A Visual Studio Code extension for visualizing dependencies between ReScript modules in your project. This extension helps you understand the structure and relationships in your ReScript codebase.
Features
Full Dependency Graph Visualization: View the complete dependency graph of your ReScript project
Module-Focused Views: Focus on a specific module and see its direct dependencies and dependents
Interactive Graph: Click on modules to navigate through dependencies
High Performance: Uses digest-based caching to improve performance for large projects
Platform Support
Currently, this extension is supported on:
macOS
Linux
Important: Windows is not supported in the current version.
Windows support is planned for a future release. The limitation is due to issues with the CLI binary build process.
Commands
This extension provides several commands in the Command Palette (Ctrl+Shift+P or Cmd+Shift+P):
ReScript: Show Dependency Graph: Shows the full dependency graph of your project
ReScript: Focus On Module Dependencies: Focuses on a specific module and its relationships
ReScript: Clear Dependency Cache: Clears the cached dependency data for improved accuracy after major changes
Cache Management
The extension uses a caching mechanism to improve performance when analyzing module dependencies:
Cache files are stored in the extension's global storage area: