Find unused Spine or Sprite animations in your game!
CC Animation Sweeper is a Visual Studio Code extension that scans your game project's assets and code to detect unused animation names — helping you keep your project clean and optimized.
🚀 Features
🔍 Scans .json Spine files for animation definitions
🧠 Searches your source code for actual animation usage
🧼 Identifies unused animation names
📄 Generates a report with:
All animation names
Which are used
Which are unused
📂 Usage
Right-click in the Explorer panel → choose "Scan for Unused Animations"
Or run from Command Palette: Cmd+Shift+P → Scan for Unused Animations
A progress popup will appear while scanning
Results will open in a new editor tab:
Summary of total, used, and unused animations
List of unused animation names and their file paths
🛠 Configuration
No configuration needed — works out of the box for typical Spine and Sprite JSON and code structure.
Make sure your files are in the following structure: