?? Early access — incomplete, not fully tested. The Function Manager panel and its associated CLI commands are under active development. Features described below may be partially implemented or absent from some builds.
What Function Manager is
Function Manager gives you a searchable, navigable index of every callable function, label, and jump target defined in your project’s Ren’Py scripts. It is built on top of PFI (Project Function Index), which is computed automatically during an Analyze run when --export-functions is passed.
Intended capabilities:
- Browse all functions � view every label, menu, and callable scene in one place with file/line references.
- Jump to definition � click any entry to open the source file at that line in VS Code.
- Inspect call edges � see what calls a function and what it calls (powered by PFI jump/call edge analysis).
- Filter and search � narrow by name, file, or type (label / menu / screen / init).
How to populate it
branchpy --project <path> analyze --export-functions
This runs PFI as part of the Analyze pipeline and writes the function index to .branchpy/. The Control Center panel reads from there.
Current state (v1.1.1)
The underlying PFI engine is functional. The Control Center UI for browsing and jump-to-definition is not yet complete � the panel may be empty or show partial data. Use the raw JSON output at .branchpy/pfi.json if you need the data programmatically.
Learn more: Technical/analysis