Generate beautiful, designer-quality comment blocks in Python instantly.
🎬 Demo
Insert stylish Python comment blocks in seconds.
✨ Features
Choose from:
- Box blocks
- Unicode frames (╔═══╗)
- Arrow dividers
- Corporate headers
- TODO banners
- START / END blocks
- Emoji-enhanced styles
- Minimal clean headers
- Heavy decorative banners
- Random style generator
⚡ Quick & Easy
- Right-click in any Python file
- Or press
Ctrl + Shift + P
- Select a style
- Enter your title
- Done 🎉
📏 Auto-Sizing Blocks
Comment width automatically adjusts to your title length
Or set a custom width in settings.
🎛 Customizable Settings
Configure:
- Default block width
- Enable/disable emoji styles
- Pre-select default style
- Always show selection menu (optional)
📦 Usage
Open a Python file.
Right-click → Insert Python Comment Block
OR
Open Command Palette:
Ctrl + Shift + P
Search:
PyComment: Insert Python Comment Block
Choose a style
Enter title
Block inserted at cursor
🎲 Random Style
Run:
PyComment: Random Comment Style
Perfect when you want variation.
⚙ Extension Settings
| Setting |
Description |
Default |
pycomment.defaultBlockWidth |
Default comment block width |
60 |
pycomment.enableEmojiStyles |
Enable emoji styles |
true |
pycomment.defaultStyle |
Preselect style ID |
"" |
Clean code isn't just about logic — it's about structure.
PyComment helps you:
- Organize large files
- Improve readability
- Add professional headers
- Structure business logic clearly
- Make code visually clean
🛣 Roadmap
- Multi-language support (JS, Java, C++)
- Multi-line title support
- Live preview before insertion
- Custom style creator
🐞 Known Issues
- Multi-line titles are not supported yet.
- Very long titles may auto-expand width.
📌 Release Notes
1.0.0
- Initial release
- 30+ comment styles
- Auto-width detection
- Settings support
- Random style command
👨💻 Author
| |