Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Comment LinkingNew to Visual Studio Code? Get it now.
Comment Linking

Comment Linking

Viktor Kratiuk

|
6 installs
| (0) | Free
🔗 Link between comments in code. Create anchors and jump to them from anywhere
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

💬 Comment Linking extension for VS Code

Logo

🔗 Link between comments in code. Create anchors and jump to them from anywhere

✅ Supported languages

  • JavaScript (.js)
  • TypeScript (.ts)
  • Python (.py)

🧠 How it works

  • Add an anchor comment where you want to jump to: // [MyAnchor](#id)
  • Reference it elsewhere: // [Go to anchor](https://github.com/viktorkratiuk/commentlinks/blob/HEAD/id)
  • Click the link to jump to the anchor. The Anchors view shows all anchors across your workspace.

🎬 Examples

  • Basic Link ↔ Anchor interaction:

    Link-Anchor Demo

  • Anchors view (tree of all anchors):

    Anchors View Demo

✨ Features

  • 🔍 Anchors tree view to browse anchors across files
  • 🎯 Inline links in comments that jump to anchors
  • 🖍️ Smart decorations to highlight only the preview text
  • 📋 Copy anchor ID from the Anchors view

📦 Installation

  1. Install the extension
  2. Reload VS Code window (you’ll be prompted on first install)

✅ Roadmap / To‑Do

  • [ ] 🧵 Support multiline comments (block and triple-quote styles)
  • [ ] 🌐 Add more languages (e.g., Go, Rust) and support .jsx/.tsx

Made with 😡 by Viktor Kratiuk

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