https://github.com/nvimdev/visualizer.nvim
https://github.com/nvimdev/visualizer.nvim
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nvimdev/visualizer.nvim
- Owner: nvimdev
- License: mit
- Created: 2025-06-25T09:56:02.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-05T08:19:23.000Z (6 months ago)
- Last Synced: 2025-07-18T19:47:30.354Z (5 months ago)
- Language: Lua
- Size: 219 KB
- Stars: 14
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# LSP Call Chain Visualizer
A Neovim plugin that provides interactive 3D visualization of LSP call hierarchies using Three.js.
[show case video on youtube](https://www.youtube.com/watch?v=1Vwt1EnWiwo)
## Features
- 🎯 **Interactive 3D Visualization** - Navigate call hierarchies in an intuitive 3D space
- 🔍 **Precise Navigation** - Click nodes to open files at exact line:column positions
- 📍 **Location Display** - Shows `filename:line:column` for each function
- 🎨 **Visual Feedback** - Different shapes and colors for different node types
- 📝 **Visit Tracking** - Visited nodes turn gold to track exploration progress
- ⚡ **Real-time Physics** - Dynamic force-directed layout with adjustable parameters
## Usage
1. Place cursor on a function
2. Use one of the commands:
- `Visualizer incoming` - Show functions that call this one
- `Visualizer outgoing` - Show functions this one call
- `Visualizer full` - Show both incoming and outgoing calls
- `Visualizer workspace_symbol` - Show lsp workspace symbol
3. In the 3D visualization:
- **Click nodes** to open files in Neovim
- **Drag** to rotate camera
- **Scroll** to zoom
- **Toggle physics** to pause/resume animation
- **Clear visited** to reset visit tracking
## License
MIT