A VSCode extension that provides emoji-powered comment snippets for better code documentation and organization. Transform your code comments with expressive emojis that make your code more readable and maintainable.
Features
- 🎯 30+ Comment Snippets - Comprehensive set of emoji-powered comment templates
- 🚀 Quick Access - Type
ii.
followed by any prefix to get instant suggestions
- 📝 Multiple Languages - Works with TypeScript, JavaScript, TSX, and JSX files
- 🎨 Visual Organization - Use emojis to categorize and highlight different types of comments
- 📋 Built-in Cheatsheet - Access the complete list of snippets via command palette
Installation
From VSCode Marketplace
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Iconic Comments"
- Click Install
From VSIX Package
- Download the
.vsix
file from the releases page
- Open VSCode
- Go to Extensions → More Actions → Install from VSIX
- Select the downloaded file
Usage
Basic Usage
Type any of the following prefixes and press Tab
to expand:
ii.ok
→ // ✅ Success message
ii.info
→ // ℹ️ Informational note
ii.warning
→ // ⚠️ Warning message
ii.error
→ // ❌ Error message
ii.bug
→ // 🐞 BUG: Bug description
ii.fix
→ // 🔧 FIX: Fix description
ii.idea
→ // 💡 IDEA: Idea description
ii.note
→ // 📝 NOTE: General note
ii.docs
→ // 📚 DOCS: Documentation reference
ii.test
→ // 🧪 TEST: Testing note
ii.question
→ // ❓ QUESTION: Open question
ii.deprecated
→ // ⛔ DEPRECATED: Deprecation notice
ii.refactor
→ // ♻️ REFACTOR: Refactor reminder
ii.review
→ // 👀 REVIEW: Needs review
ii.blocked
→ // 🚫 BLOCKED: Blocked by something
ii.wip
→ // 🏗️ WIP: Work in progress
ii.hotfix
→ // 🔥 HOTFIX: Hot/urgent issue
ii.security
→ // 🛡️ SECURITY: Security concern
ii.performance
→ // ⚡ PERFORMANCE: Performance hint
ii.api
→ // 🔌 API: API-related note
ii.database
→ // 🛢️ DATABASE: Database-related note
ii.ui
→ // 🎨 UI: UI note
ii.ux
→ // 🧭 UX: UX note
ii.log
→ // 📋 LOG: Logging note
ii.config
→ // ⚙️ CONFIG: Configuration note
ii.package
→ // 📦 PACKAGE: Package/dependency note
ii.env
→ // 🌱 ENV: Environment variable note
ii.link
→ // 🔗 Reference link
ii.pin
→ // 📌 Important pinned note
ii.time
→ // ⏱️ TIME: Timing/SLA note
ii.cleanup
→ // 🧹 CLEANUP: Code cleanup task
ii.todo
→ // ✅ TODO: TODO item
ii.banner
→ Creates a banner block comment
ii.todo.wrap
→ Wraps selected text with TODO block
ii.region
→ // #region Region name
ii.endregion
→ // #endregion
ii.icons
→ Inserts the complete cheatsheet as a comment
Command Palette
Access the cheatsheet anytime by:
- Press
Ctrl+Shift+P
(or Cmd+Shift+P
on Mac)
- Type "Iconic Comments: Show Cheatsheet"
- Press Enter
Examples
Before
// This function needs optimization
function processData(data: any[]) {
// TODO: Add error handling
// This is a bug that needs fixing
return data.map(item => item.value);
}
After
// ⚡ PERFORMANCE: This function needs optimization
function processData(data: any[]) {
// ✅ TODO: Add error handling
// 🐞 BUG: This is a bug that needs fixing
return data.map(item => item.value);
}
Banner Example
/* ====================================================
User Authentication Module
==================================================== */
// 🛡️ SECURITY: Validate user credentials
function authenticateUser(username: string, password: string) {
// 🔌 API: Call authentication service
// 📋 LOG: Log authentication attempts
}
Supported Languages
- TypeScript (
.ts
)
- TypeScript React (
.tsx
)
- JavaScript (
.js
)
- JavaScript React (
.jsx
)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
)
- Commit your changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
Development
Prerequisites
Setup
- Clone the repository
- Run
npm install
- Open in VSCode
- Press
F5
to run the extension in a new Extension Development Host window
Building
npm run compile
Packaging
npm run package
License
This project is licensed under the MIT License - see the LICENSE file for details.
Changelog
See CHANGELOG.md for a list of changes and version history.
Issues
If you encounter any issues or have suggestions, please file an issue on the GitHub repository.
Acknowledgments
- Inspired by the need for better code documentation
- Emojis make code more expressive and easier to scan
- Built with ❤️ for the developer community