🔗 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
✨ 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
- Install the extension
- 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
| |