Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Vader Collapse FunctionsNew to Visual Studio Code? Get it now.
Vader Collapse Functions

Vader Collapse Functions

stars-dreamer

|
9 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Vader Collapse Functions

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.

Roadmap

Plan is to extend for other languages

📄 License

MIT License © 2025 Vader

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