Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Source Map VisualizerNew to Visual Studio Code? Get it now.
Source Map Visualizer

Source Map Visualizer

zw3rk pte. ltd.

|
6 installs
| (1) | Free
| Sponsor
Advanced source map visualization and visual mapping editor for VSCode
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Source Map Visualizer

Version Downloads License

Advanced source map visualization and visual mapping editor for Visual Studio Code.

Features

🔍 Source Map Viewer

  • Interactive Visualization: View .map files with synchronized source and generated code
  • Smart Connections: Visual bezier curves show mappings between code segments
  • Click & Highlight: Click any segment to trace its mapping
  • Multiple Styles: Choose between bezier, straight, or step connection lines
  • Auto-reload: Automatically updates when source files change

✏️ Visual Desc Editor

  • Drag & Drop Mapping: Create source maps visually by connecting code segments
  • Character Precision: Map individual characters or ranges with Cmd/Ctrl+Click
  • Semantic Types: Assign types (PGM, APP, LAM, INTEGER) to mappings
  • Live Validation: Real-time validation ensures correct mappings
  • Export to .map: Convert human-readable .desc files to standard source maps

🎯 Additional Features

  • File Type Agnostic: Works with any file type (.js, .ts, .uwu, .uplc, etc.)
  • Toggle Views: Easy switching between visual and text editor modes
  • Browse Integration: File browser buttons for easy file selection
  • Performance Optimized: Handles large files with virtualization

Installation

From VSCode Marketplace

  1. Open VSCode
  2. Go to Extensions (Cmd/Ctrl + Shift + X)
  3. Search for "Source Map Visualizer"
  4. Click Install

From VSIX Package

code --install-extension sourcemap-visualizer-1.0.0.vsix

Usage

Viewing Source Maps

  1. Open any .map file - the visualizer opens automatically
  2. Click segments to highlight mappings
  3. Use "Open as Text" in title bar to switch to JSON view

Creating Visual Mappings

  1. Open a .desc file - the editor opens automatically
  2. Click "Add Mapping" to start
  3. Cmd/Ctrl+Click characters in the generated panel
  4. Click corresponding characters in the source panel
  5. Export to standard .map format when done

See the User Guide for detailed instructions.

Requirements

  • VSCode 1.74.0 or higher
  • Node.js 16.x or higher (for development)

Development

Prerequisites

  • Node.js 16+
  • VSCode
  • (Optional) Nix for reproducible environment

Setup

git clone https://github.com/zw3rk/sourcemap-tools
cd sourcemap-tools
make init     # Install dependencies
make dev      # Start development mode

Available Commands

make help     # Show all available commands
make build    # Build the extension
make test     # Run tests
make lint     # Run linter
make package  # Create .vsix package
make publish  # Publish to marketplace

Project Structure

├── src/              # Extension source code
│   ├── extension.ts  # Main entry point
│   ├── viewer/       # Source map viewer
│   └── editor/       # Desc editor
├── webview/          # Frontend code
│   ├── viewer/       # Viewer UI
│   └── editor/       # Editor UI
├── docs/             # Documentation
├── test/             # Test files
└── resources/        # Icons and assets

Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Guidelines

  • TypeScript strict mode must be enabled
  • All code must pass linting (make lint)
  • Tests must pass (make test)
  • Follow existing code style

Support

  • 📖 User Guide
  • 🐛 Report Issues

License

Apache License 2.0 - see LICENSE for details.


Made with ❤️ in 🇸🇬 Singapore by zw3rk pte. ltd.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft