A lightweight VS Code extension that adds an interactive "Spin the Wheel" to the Activity Bar for making quick random decisions, selecting people for standups, or just having fun.
Features
Activity Bar View: Open the wheel from the side bar without leaving your editor.
Customizable Options: Enter comma-separated items; duplicates are filtered automatically.
Colors & Visuals: Each segment gets an autogenerated distinct HSL color and the wheel uses a smooth conic-gradient spin animation.
AI Integration: After a spin, the winning option is sent to the built-in VS Code AI chat (Copilot/chat) and — if installed — to the Claude Dev extension (saoudrizwan.claude-dev).
How to Use
Click the Spin the Wheel icon in the Activity Bar.
In the options field, enter items separated by commas (e.g. Alice, Bob, Charlie). Duplicates are removed automatically.
Optionally enter an AI sentence in the top input and use {{res}} as a placeholder — it will be replaced with the winner before sending to the AI chat or Cline.
Click the SPIN button. The wheel spins, the winner is shown, and a message is posted to the editor view which will:
Open the built-in AI chat with the query.
Add the query to the Claude Dev extension chat if that extension is installed.
Notes
The result display uses an accessible live region so screen readers receive the winner announcement.
If you supply a command template containing {{res}}, that placeholder will be replaced with the winning option before sending.
Development & Packaging
Build/compile TypeScript for publishing or local testing:
npm run compile
Package for the VS Code Marketplace:
vsce package
Run the extension in the Extension Development Host from VS Code (press F5).