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
- Select text in an editor.
- Run
Add comment from the command palette or editor context menu.
- Enter the comment text.
- Use
Pick comment color from the command palette or editor context menu to choose the highlight color for new comments.
- 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.
| |