A Visual Studio Code extension for visualizing and debugging sprite atlas files. Easily view texture regions, coordinates, and properties directly in VS Code.
Features
📁 Automatic Detection: Automatically finds .atlas files in your workspace
🔍 Search Regions: Quickly find any sprite/region with Ctrl+Shift+P → "Atlas Visualizer: Search Regions"
📊 Visual Canvas: See all regions drawn on the source texture images
📋 Sidebar Explorer: Browse all textures and regions in a tree view
ℹ️ Detailed Info: View region properties including position, size, rotation, offset, and more
🎯 Interactive Selection: Click on regions to highlight them
🔄 Rotation Support: Properly handles rotated regions (90° rotations)
Usage
Opening an Atlas File
Automatic: If you have a .atlas file in your workspace, it will be detected automatically
Manual: Use Ctrl+Shift+P → "Atlas Visualizer: Open Atlas File"
Context Menu: Right-click on a .atlas file in the Explorer and select "Open Atlas File"
Viewing Regions
Once an atlas file is loaded:
Sidebar: Open the "Atlas Visualizer" in the Activity Bar (left sidebar)
Browse: Expand images to see all their regions
View: Click on any region to view it in the editor
Search: Use Ctrl+Shift+P → "Atlas Visualizer: Search Regions" to quickly find a specific sprite
Features in the Visualizer
Canvas View: Shows the full texture with all regions outlined in red
Selected Regions: Highlighted in green when selected
Hover Tooltips: Hover over regions to see detailed information
Region List: Click regions in the list to highlight them on the canvas
Statistics: View total regions, rotated regions, and selected region info
Atlas File Format
This extension supports the standard TexturePacker/libGDX atlas format: