Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>MQL FoldNew to Visual Studio Code? Get it now.
MQL Fold

MQL Fold

Algo4Stock

| (0) | Free
Fold only MQL function blocks in VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MQL Fold

Fold and unfold only function blocks in MQL code in VS Code. Keeps comments and internal blocks untouched.

Features

  • Detects MQL-style function definitions like void, int, double, string, etc.
  • Folds only top-level functions, without collapsing comments or nested blocks
  • Works via command palette or customizable shortcut keys

Commands

  • MQL Fold: Fold Function Blocks
  • MQL Fold: Unfold Function Blocks

How to Install

  1. Run vsce package inside the project directory to create .vsix file
  2. In VS Code: Open Extensions panel → ... menu → Install from VSIX
  3. Choose the generated .vsix file

Future Improvements

  • Support modifiers like static, extern, const
  • Language configuration for more folding flexibility

Made by Algo4Stock 🇮🇷

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