Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Codemap ExtensionNew to Visual Studio Code? Get it now.
Codemap Extension

Codemap Extension

gpsbird

|
4,899 installs
| (3) | Free Trial
Assist in Reading Source Code - through means such as connection lines, highlighting, and annotations for code structure visualization.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Codemap Extension

Join the chat at https://gitter.im/gpsbird/codemapExtension

Read complex source code effortlessly with visual connection lines and an AI-powered infinite canvas.

Codemap is the pioneering editor extension engineered to eliminate the cognitive overload of reading and analyzing unfamiliar codebases. Instead of constantly switching tabs and losing your mental model, Codemap tiles related files side-by-side on an infinite canvas (FloatArea), highlighting tokens and drawing interactive visual connections between function calls and their definitions.


🚀 What's New: Native MCP Support

Codemap now features a built-in Model Context Protocol (MCP) server!

It automatically registers with Cursor and VS Code upon extension activation — zero setup or manual mcp.json editing required.

How to Trigger in AI Prompts

Whenever you ask an AI assistant (such as Cursor Composer / Agent or GitHub Copilot) to explain or trace code, simply include trigger phrases like "visualize with codemap" or "通过 codemap 可视化":

  • visualize with codemap (or 通过 codemap 可视化)
  • show the call hierarchy in Codemap
  • connect definitions and usages using Codemap

Example Prompts

"Explain how the MCP server registers in src/mcp.ts, and visualize with codemap."

"Trace the authentication flow and visualize with codemap."

"分析当前模块的调用链路,通过 codemap 可视化"

How It Works Under the Hood

  1. Autonomous Analysis: The AI agent reads your code and resolves accurate symbol definitions using language tools.
  2. Auto-Tiled Canvas: The agent invokes Codemap's MCP tools (show_code_structure), automatically opening and tiling relevant files on the canvas and scrolling to target ranges.
  3. Interactive Linkage: Codemap renders smooth bezier connection lines between callers and definitions across editors, giving you an immediate spatial overview of your program flow.

Demo

Codemap Extension Demo


Key Features

  • 🌌 Infinite Canvas (FloatArea): Break free from rigid tabs. Freely arrange, drag, and pin multiple editor panes on an infinite workspace.
  • 🔗 Cross-File Visual Connections: Interactive bezier lines connect function calls directly to their declarations across split files.
  • 🤖 Zero-Config MCP Integration: Out-of-the-box support for modern AI coding workflows in both Cursor and VS Code.
  • 📝 In-Canvas Annotations & Highlighting: Add contextual notes and highlights right alongside the source code.

Requirements

Please ensure the corresponding Language Server (e.g. TypeScript, Python, Go, Rust) is installed and activated for your project to enable accurate definition and reference resolution.


Community & Feedback

  • Join the discussion on Gitter
  • Report issues or feature requests on GitHub Issues
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft