Create beautiful, shareable code screenshots right inside VS Code! Like Carbon.now.sh but faster and offline.
- 📸 One-click screenshots - Select code → Right-click → "CodeShot: Capture Selection"
- 🎨 9 Beautiful themes - Dracula, Monokai, Nord, Synthwave, GitHub Dark, Ocean, Sunset, Aurora, Midnight
- 🖥️ Window styles - macOS, Windows, or no chrome
- 🔢 Line numbers - Optional line numbers starting from selection
- 📋 Copy to clipboard - Share instantly
- 💾 Save as PNG - High-quality 2x resolution export
- 🏷️ Watermark support - Add your @handle
- 🌈 Modern gradients - Stunning background colors
- Open VS Code
- Go to Extensions (
Cmd+Shift+X/Ctrl+Shift+X) - Search for "CodeShot"
- Click Install
- Select some code in your editor
- Right-click and choose "📸 CodeShot: Capture Selection"
- Preview your beautiful screenshot
- Copy to clipboard or Save as PNG
| Setting | Description | Default |
|---|---|---|
codeshot.theme |
Color theme | dracula |
codeshot.windowStyle |
Window chrome (mac, windows, none) |
mac |
codeshot.showLineNumbers |
Show line numbers | true |
codeshot.padding |
Padding around code (px) | 32 |
codeshot.watermark |
Watermark text (e.g., @handle) | "" |
| Theme | Style |
|---|---|
| 🧛 Dracula | Purple → Pink gradient |
| 🎨 Monokai | Pink → Blue gradient |
| ❄️ Nord | Rainbow gradient |
| 🌆 Synthwave | Neon pink & cyan |
| 🐙 GitHub Dark | Deep navy |
| 🌊 Ocean | Turquoise gradient |
| 🌅 Sunset | Pink → Yellow |
| 🌌 Aurora | Cyan → Green |
| 🌙 Midnight | Deep purple |
Contributions welcome! Please submit a Pull Request.
Apache License 2.0 - see LICENSE for details.
Sitharaj Seenivasan
- LinkedIn: @sitharaj88
- GitHub: @sitharaj88
Made with ❤️ for developers who love beautiful code