Annotative
Simple, powerful code annotation for VS Code. Perfect for reviewing AI-generated code, collaborating on pull requests, and documenting your work.
Highlight code, add notes with tags, choose colors, and export as Markdown. Stay organized without leaving your editor.
Why Annotative?
- Review AI-generated code - Flag issues in Copilot, ChatGPT, or Claude suggestions
- Collaborative code reviews - Leave feedback that's easy to share and discuss
- Documentation on the fly - Capture insights while coding
- Self-review before commits - Catch issues during your own quality checks
- Team knowledge sharing - Export annotations for team discussions and AI chats
- Learning tool - Annotate code systematically as you study new concepts
How It Works
- Select code you want to annotate
- Press Ctrl+Shift+A or right-click and select "Add Annotation"
- Enter your note
- Add tags to categorize (bug, performance, security, etc.)
- Choose a color for visual preference
- View in sidebar with flexible organization options
- Export as Markdown or share with your team
Core Features
- Quick & Simple - Keyboard shortcuts and context menus for fast annotation
- 8 Color Options - Choose colors based on personal preference
- Flexible Tagging - Categorize annotations: bug, performance, security, style, improvement, docs, question, ai-review
- Visual Highlighting - Annotated code is highlighted directly in your editor
- Smart Organization - View annotations organized by file, tag, or status
- Resolution Tracking - Mark annotations as resolved when issues are fixed
- Easy Export - Generate Markdown for AI chats, team discussions, or documentation
- Persistent Storage - Annotations auto-save and restore between sessions
- Zero Config - Works out of the box, no setup required
Advanced Features
- Multiple Organization Modes - Group annotations by file, semantic tags, or resolution status
- Bulk Operations - Select multiple annotations and tag, resolve, delete, or change color in batch
- Filter by Status - Show all, unresolved only, or resolved only annotations
- Filter by Tag - Filter annotations by specific tags to focus on what matters
- Search Annotations - Find annotations across your workspace
- Edit Annotations - Modify comments, tags, and colors after creation
- Keyboard Navigation - Jump to next/previous annotation with Alt+Up/Down
- Undo Support - Quickly undo the last annotation with Ctrl+Shift+Z
- Copilot Integration - Direct integration with GitHub Copilot Chat (@annotative participant)
- Multi-Format Export - Optimized exports for Copilot, ChatGPT, Claude, or generic AI tools
- Template Support - Quick templates for common annotation scenarios
Keyboard Shortcuts
| Shortcut |
Action |
Ctrl+Shift+A (Mac: Cmd+Shift+A) |
Add annotation to selected text |
Ctrl+Shift+Z (Mac: Cmd+Shift+Z) |
Undo last annotation |
Alt+Down |
Go to next annotation |
Alt+Up |
Go to previous annotation |
Ctrl+Shift+F (Mac: Cmd+Shift+F) |
Search annotations |
Ctrl+Alt+E (Mac: Cmd+Alt+E) |
Export by intent |
AI Integration
Export your annotations and paste directly into ChatGPT, Copilot Chat, or Claude to:
- Discuss issues and get suggestions
- Request code improvements
- Generate documentation
- Iterate on AI-generated code
GitHub Copilot Integration
Use the @annotative participant in Copilot Chat to:
- Get AI suggestions on all annotations in a file
- Ask Copilot about specific annotations
- Generate fixes for flagged issues
Installation
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X / Cmd+Shift+X)
- Search for "Annotative"
- Click Install
Getting Started
After installation:
- Select any code in your editor
- Press
Ctrl+Shift+A or right-click and select "Add Annotation"
- Enter your note and choose a color
- (Optional) Add tags to categorize the annotation
- View all annotations in the Annotative sidebar
- Export annotations to share
Requirements
- VS Code 1.105.0 or higher
- No additional dependencies - works out of the box!
Development & Contributing
Want to contribute or test locally?
Quick Start:
- Clone the repository
- Run
npm install
- Press F5 in VS Code to launch the extension
- Test in the Extension Development Host window
See CONTRIBUTING.md for detailed setup instructions.
Workspace Storage
Annotations are stored per workspace in .annotative/annotations.json:
- Workspace-specific: Each workspace has its own annotations
- Auto-save: Changes save automatically
- Portable: Take your workspace and annotations with you
Tips & Best Practices
For Code Reviews
- Use red for bugs and critical issues
- Use orange for warnings and potential problems
- Use blue for documentation needs
- Export and share with team
For AI-Generated Code Review
- Tag annotations with "ai-review"
- Use red for issues, green for optimizations
- Export and ask Copilot/ChatGPT for fixes
For Team Collaboration
- Establish consistent tags across your team
- Use colors strategically based on team conventions
- Export annotations for discussions and knowledge sharing
For Organizing Many Annotations
- Use "Group by Tag" to see all similar issues together
- Use "Group by Status" to separate open vs resolved
- Use bulk tagging to categorize groups of annotations at once
- Use bulk actions to efficiently manage large annotation sets
License
Annotative is fully open source and available under the MIT License.
- Free for personal, educational, commercial, and enterprise use
- Modify and distribute freely
- No restrictions on commercial use
See LICENSE for details.
Recent Updates
Version 1.3.0 - Bulk Operations & Flexible Organization
- Decoupled colors from annotation types - colors are now purely visual preference
- Multiple organization modes: group by file, tag, or status
- Bulk annotation operations: tag, resolve, delete, and change color in batches
- Multi-select annotations with visual checkboxes
- Improved sidebar with status indicators and inline tags
- Enhanced flexibility for managing large annotation sets
- Simplified color picker without forced associations
See CHANGELOG.md for complete version history.
Support
- Issues: Report bugs on GitHub
- Discussions: Join GitHub Discussions
- Features: Suggest features on GitHub
Made for developers who care about code quality.
| |