A lightweight VS Code extension to quickly collapse or expand all functions in your active editor.
Supports Python (def) and JavaScript/TypeScript (function) out of the box.
✨ Features
Collapse all functions in the current file with a single command.
Expand all functions back instantly.
Works for Python (def) and JavaScript/TypeScript (function) functions.
Smart indentation-based folding (handles multi-line function definitions and ignores comments/blank lines).
🛠️ Commands
Command
Description
Vader CollapseFns: Collapse All Functions
Collapses all functions in the active editor.
Vader CollapseFns: Expand All Functions
Expands all functions in the active editor.
Access these commands from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) or bind them to custom keybindings.