Function InspectorA 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. FeaturesActive File ModeCommand:
Shows symbols from the currently opened file editor. Displays:
Includes:
Workspace ModeCommand:
Scans supported files across the workspace. Features:
Clicking a file node opens the editor. Sidebar ControlsRefresh buttonPerforms a hard refresh by click the refresh symbol in the Function Inspector sidebar. Clears:
Then rebuilds the tree. Useful when:
Collapse AllUse the built-in Collapse All button in the tree view toolbar. Quickly collapse the entire explorer tree. Display SettingsAvailable options include: Toggle Function Details - Shows Number of lines and range Toggle Parameters - Shows function name (dependent on symbol provider) Toggle Paths - Shows only file name These settings allow the tree to be customized depending on how much information you want displayed. Function ActionsAvailable from nodes in the Function Inspector view Select FunctionOpens the source file and selects the full function body. Copy FunctionCopies the full function source to the clipboard. Multiple functions can be selected and copied at once. Compare FunctionsSelect two functions and right click to select compare functions. Command Palette CommandsOnly these commands appear directly in the Command Palette:
Other actions are available through the explorer UI. Language SupportSymbol 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:
CachingFunction Inspector caches:
Use Refresh Button to perform a hard reset when results appear stale. Known IssuesSymbol AvailabilityLanguages expose symbol trees differently. Examples:
Results vary by:
Large WorkspacesVery large workspaces may experience slower scans. Workspace mode currently searches supported source files and requests symbol information for discovered files. Performance depends heavily on language provider performance. Python isort Server CrashesSome Python setups may display errors like:
This can be caused by the Python environment or formatter extension. Missing Functions/ClassesLocal functions and nested methods depend on the language provider. Some languages may omit nested symbols. Release Notes1.0.0Initial release. Features:
1.6.0Updated for the love of the game Features:
|