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
- Run
vsce package inside the project directory to create .vsix file
- In VS Code: Open Extensions panel → ... menu →
Install from VSIX
- Choose the generated
.vsix file
Future Improvements
- Support modifiers like
static, extern, const
- Language configuration for more folding flexibility
Made by Algo4Stock 🇮🇷
| |