Hover card → check the checkbox — or — hover highlighted text → click Resolve
Edit a comment
Hover card → click ✎
Clear everything
Command Palette → Inline Comment: Clear All Comments
Editor Decorations
State
Decoration
Active comment
Yellow highlight + ● glyph
Resolved comment
Dimmed highlight + ✓ glyph
Data Storage
Comments are saved to .vscode/inline-comments.json in your workspace root. Add it to version control to share annotations with teammates.
Development
git clone https://github.com/realkenlee/vscode-in-line-commenting.git
cd vscode-in-line-commenting
npm install
npm run compile
# Press F5 in VS Code to launch the Extension Development Host
The .vscode/launch.json and .vscode/tasks.json are included so F5 works out of the box.
Known Limitations
Comment ranges are anchored to line/character positions at the time of creation. If lines are inserted or deleted before a commented range, the decoration will shift.
Multi-root workspaces use the first workspace folder as the storage root.
The split-panel ratio is controlled by dragging the VS Code divider — there is no API to set it programmatically.