Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Code TrailNew to Visual Studio Code? Get it now.
Code Trail

Code Trail

Takahiro Itazuri

| (0) | Free
Mark and link code reading notes as Markdown files with YAML frontmatter.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Code Trail

A VS Code extension for recording code reading notes.

Features

  • Mark code in the editor as a Markdown file with YAML frontmatter
  • Automatically detects the symbol (function, class, method) at cursor position
  • Records file path, line range, symbol name, timestamp, GitHub URL, and the selected code
  • Link marks to each other with uses/usedBy relationships, with call hierarchy suggestions
  • Clickable code-trail: links to jump between marks and source code
  • Outputs to the code-trail/ directory in your workspace

Commands

Command Keybinding Description
Code Trail: Mark Code Ctrl+Shift+M Mark the selected code or symbol at cursor
Code Trail: Link Mark Ctrl+Shift+L Link the current mark to another mark

Usage

  1. Select code in the editor (or place cursor inside a function/method)
  2. Run Code Trail: Mark Code
  3. Open a mark file and run Code Trail: Link Mark to create relationships between marks
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft