Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Function Call Tree HoverNew to Visual Studio Code? Get it now.
Function Call Tree Hover

Function Call Tree Hover

AkshayKale

|
1 install
| (0) | Free
Hover over a function to see an interactive call tree of all functions it calls, recursively.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Call Tree Hover

Hover over any function in a JavaScript or TypeScript file to instantly see a call tree showing every function it calls, recursively.

Features

  • Hover tooltip — ASCII call tree with function name, file, and line number
  • Side panel — Interactive D3.js tree; click any node to jump to that function
  • Cycle detection — Handles recursive/mutually recursive functions safely
  • Configurable depth — Default depth of 3, adjustable up to 10

Usage

  1. Open a JS/TS file
  2. Hover over a function name — the call tree appears in the tooltip
  3. Run Call Tree: Show Panel (command palette or status bar button) for the interactive view

Settings

Setting Default Description
callTree.maxDepth 3 Maximum call tree depth
callTree.showInHover true Show tree in hover tooltip
callTree.autoOpenPanel false Auto-open side panel on hover

Requirements

Requires a language server that supports the VS Code Call Hierarchy API (TypeScript, JavaScript via the built-in TS server).

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