Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MA API MapNew to Visual Studio Code? Get it now.
MA API Map

MA API Map

majj

|
2 installs
| (0) | Free
Scan Spring MVC HTTP endpoints in your workspace and browse/jump to them from the sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MA API Map

在 VS Code 侧边栏浏览工作区内的 HTTP 接口,并一键跳转到源码。

功能

  • 自动扫描工作区里的 Spring MVC(@Controller / @RestController)接口。
  • 侧边栏按 Controller 类分组,叶子节点显示 METHOD /path(如 GET /v1/users/login)。
  • 点击节点跳转到接口方法源码(file:line)。
  • 命令:
    • MA API Map: Refresh —— 重新扫描整个工作区。
    • MA API Map: Set Filter —— 弹出输入框,按模糊子序列匹配过滤接口。
    • MA API Map: Clear Filter —— 清空过滤。
  • 过滤示例:
    • 输入 /v1us/login 命中 /v1/users/login、/v1/manage/users/login。
    • 输入 myuslog 命中类名/方法名含该子序列的接口(IDEA 式模糊匹配)。
    • 路径中的 ${...} 占位符原样保留(如 ${api.prefix}/users)。

使用

  1. 用 F5 以扩展开发宿主运行,或在已安装的工作区打开。
  2. 打开含 Spring 项目的工作区,侧边栏「资源管理器」下出现 MA API Map 视图。
  3. 点击接口跳转;点视图标题栏刷新/清空过滤。

支持的语言

  • ✅ Java / Spring MVC(第一期)
  • 🚧 Go / Python / Node(scanner 占位,待实现)

详见 docs/requirement-01.md 与 DESIGN.md。

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