Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Code Comment ViewerNew to Visual Studio Code? Get it now.
Code Comment Viewer

Code Comment Viewer

Michael Lydeamore

|
6 installs
| (0) | Free
Show all HTML comments in the current file in a sidebar and highlight them in the editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Comment Viewer VS Code Extension

This extension displays all HTML comments (<!-- ... -->) in the currently open file in a sidebar. Clicking on a comment in the sidebar highlights the corresponding line in the editor.

Features

  • Sidebar panel listing all HTML comments in the active editor
  • Highlights the corresponding line in the editor when hovering over a comment
  • Updates automatically as you edit or switch files

Usage

  1. Open any file in VS Code.
  2. Open the "HTML Comments" sidebar from the activity bar (look for the comment icon).
  3. Click on the comment in the sidebar to highlight it in the editor.

Development

  • Press F5 to launch a new Extension Development Host window.
  • The sidebar will appear in the activity bar.
  • Edit src/extension.ts to customize behavior.

License

MIT

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