Preview - This extension is in early development. Features may change.
Add personal annotations and comments to your code without modifying the source files. Comments are stored separately in your workspace and persist across sessions.
Features
Add comments to any line or range of lines - Select code, right-click, and add your annotation
Visual indicators - Commented lines show a green wavy underline
Hover to view - Hover over the underlined code to see your comment
Edit and delete - Right-click on commented lines to modify or remove comments
Persistent storage - Comments are saved in .codecomments/comments.json in your workspace
Usage
Select one or more lines in the editor
Right-click and choose "CodeComments: Add Comment"
Enter your comment text
Hover over the underlined line to view the comment
To edit or delete a comment, place your cursor on a commented line and right-click.