Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Function InspectorNew to Visual Studio Code? Get it now.
Function Inspector

Function Inspector

beSW3892

|
34 installs
| (0) | Free
Browse, inspect, compare, and navigate functions across your active file or workspace.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Function Inspector

A lightweight VS Code extension for exploring functions, methods, and classes across your active file or entire workspace.

Function Inspector provides a tree-based view of your code structure with support for function statistics, source navigation, multi-selection, copying, comparison, and customizable display options.

Features

Active File Mode

Command:

Function Inspector: Active File

Shows symbols from the currently opened file editor.

Displays:

  • Functions
  • Methods
  • Classes
  • Nested symbols (language provider dependent)

Includes:

  • Function statistics
  • Line counts
  • Range information
  • Collapse / Expand tree support

Workspace Mode

Command:

Function Inspector: Workspace

Scans supported files across the workspace.

Features:

  • File grouping
  • File icons (theme dependent)
  • Open files directly
  • Browse functions by file
  • Workspace function and line statistics
  • Scan progress updates every 10% of files

Clicking a file node opens the editor. Select one or more files to see their function, line, and function-line counts against workspace totals.

Excluding files

Use the down-arrow button in the sidebar toolbar to enter comma-separated file names or glob patterns, for example:

**/node_modules/**, **/*.generated.ts

File names are matched anywhere in the workspace. Patterns are saved for the workspace and applied to future scans. Clear the input to remove all exclusions.

Sidebar Controls

Refresh button

Performs a hard refresh by click the refresh symbol in the Function Inspector sidebar.

Clears:

  • Symbol cache
  • Statistics cache

Then rebuilds the tree.

Useful when:

  • symbols stop updating
  • language servers refresh
  • extensions reload
  • parser output changes

Collapse All

Use the built-in Collapse All button in the tree view toolbar.

Quickly collapse the entire explorer tree.

Display Settings

Open Display Options to choose which items are enabled. Checked options are on.

Options include function details, parameters, paths, and the workspace summary.

The workspace summary shows file, function, and function-line counts, followed by total lines and total function lines. Selecting files shows their counts against workspace totals. If a language provider returns no symbols for any scanned file, a warning appears in the summary.

Function Actions

Available from nodes in the Function Inspector view

Select Function

Opens the source file and selects the full function body.

Copy Function

Copies the full function source to the clipboard. Multiple functions can be selected and copied at once.

Compare Functions

Select two functions and right click to select compare functions.

Command Palette Commands

Only these commands appear directly in the Command Palette:

Command
Function Inspector: Active File
Function Inspector: Workspace
-

Other actions are available through the explorer UI.

Language Support

Symbol discovery is therefore handled by the language provider extensions rather than by a custom parser built into Function Inspector.

This allows Function Inspector to work with any language that provides compatible document symbols.

Without these extensions:

  • no symbols may appear
  • workspace results may be empty
  • nested symbols may be missing

Caching

Function Inspector caches:

  • document symbols
  • calculated statistics

Cached results are reused for unchanged documents and invalidated when a document is edited. Use Refresh to clear the cache and rescan.

Known Issues

Symbol Availability

Languages expose symbol trees differently.

Examples:

  • namespaces
  • nested classes
  • local functions
  • language-specific parser behavior

Results vary by:

  • language server
  • extension version
  • parser implementation

Large Workspaces

Workspace scans process up to eight files at a time to avoid overwhelming language providers. Progress and statistics update as each 10% of files is processed. Exclude generated or otherwise unnecessary files with the toolbar input to reduce scan time.

Performance depends heavily on language provider performance.

Python isort Server Crashes

Some Python setups may display errors like:

isort client: couldn't create connection to server
The isort server crashed 5 times...

This can be caused by the Python environment or formatter extension.

Missing Functions/Classes

Local functions and nested methods depend on the language provider.

Some languages may omit nested symbols.

Release Notes

1.0.0

Initial release.

Features:

  • Active file explorer
  • Workspace mode
  • Refresh Button
  • Function stats
  • Compare functions
  • Copy function source
  • Function selection
  • File opening
  • Tree navigation

1.6.0

Updated for the love of the game

Features:

  • Multiple function copying
  • Customizable display settings
  • Updated stats
    • Function parameters display
    • Function path display
    • Function detail display
  • Expanded symbol support across a wider range of languages

2.0.122

Last one kinda broke it but we back

Features:

  • Status on scanning
  • Updated stats
    • Number of Files
    • Stats per selected files
    • Hide stats
  • Scanning exclusion
  • Language provider detection
  • Faster scanning
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft