Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Annotated CommentsNew to Visual Studio Code? Get it now.
Annotated Comments

Annotated Comments

yantrims

|
1 install
| (0) | Free
Add color-coded comments to selected text and store them with your workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Annotated Comments

Add color-coded comments to selected text in Visual Studio Code and keep those comments stored with the workspace.

Features

  • Add comments to selected text from the editor context menu or command palette.
  • Highlight commented ranges with a configurable color.
  • Save frequently used colors locally per workspace or globally.
  • Browse, open, and delete comments from the Explorer view.
  • Refresh stored comments with a keyboard shortcut.
  • Delete comments directly at the cursor position.
  • Supports English and German UI text.

Usage

  1. Select text in an editor.
  2. Run Add comment from the command palette or editor context menu.
  3. Enter the comment text.
  4. Use Pick comment color from the command palette or editor context menu to choose the highlight color for new comments.
  5. Open the Comments view in the Explorer to manage saved comments.

Comments are stored in .vscode/vsc-comments.json inside the workspace.

Commands

Command Default keybinding
Add comment Ctrl+Alt+C
Pick comment color Ctrl+Alt+P
Refresh comments Ctrl+Alt+R
Delete comment at cursor Ctrl+Alt+D

Notes

Only local files are supported. Unsaved or virtual documents cannot be used for persisted comments.

Development

npm install
npm run compile
npm run package

The extension source lives in src/. Generated output in out/ and packaged .vsix files are ignored by Git.

Release Notes

See CHANGELOG.md.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft