VS Code Extension
Solidity smart contract visualization with automatic call graph and sequence diagram generation.
Install
From Marketplace
Install from VS Code Marketplace or search "Traverse Solidity Analyzer" in Extensions.
From VSIX
bash
code --install-extension traverse-vscode-0.1.6.vsix
First Run
The extension downloads the LSP server binary on first activation. Supported platforms:
- macOS (Intel & Apple Silicon)
- Linux (x64 & ARM64)
- Windows (x64)
Manual download: Command Palette → Traverse: Download Language Server
Usage
- Open a Solidity project
- Right-click any folder → Select "Traverse" commands
- Results saved to
traverse-output/
in project root
Commands (Cmd+Shift+P):
Generate Call Graph
- DOT format function relationshipsGenerate Sequence Diagram
- Mermaid execution flowGenerate Storage Analysis
- Storage variable access patternsGenerate All Analyses
- Run all analysesToggle Chunking
- Enable/disable output chunking for large projects
Configuration
VS Code settings:
traverse-lsp.enableChunking
- Chunk large outputs (default: false)traverse-lsp.serverPath
- Custom LSP server pathtraverse-lsp.trace.server
- Enable debug tracing
Limitations (Preview)
- Limited Solidity 0.8+ feature support
- Performance issues with >100 contracts
- Cross-file references experimental