New MT5 platform build comes equipped with improved code navigation in MetaEditor
The MetaTrader 5 (MT5) platform 3300 update will be released on May 20, 2022.
In the new version, MetaQuotes have implemented multiple improvements to MetaEditor. Compilation now supports two modes: slow compilation with code optimization and fast one without optimization. The latter option can be useful for fast code validations during development.
Other code editor improvements include a new command for jumping to method declarations and the auto-substitution option on the “Tab” key.
In addition, the developers have facilitated MQL5 debugging processes by automatically displaying local variables in the watch list.
Terminal: Added ability to resize the Rectangle graphical object by dragging any of its four corners.
MQL5: Added function for working with matrices and vectors — RegressionMetric. It sets the metric for regression evaluation.
MQL5: Added ability to write arrays with data size greater than INT_MAX (arrays of structures).
MetaEditor: The panel is not hidden even if only one window is open. Thus, the tab context menu commands are always visible to the user. The ‘X’ closing button has been added to each tab. In addition, tabs can be closed using the middle mouse button or via the context menu.
MetaEditor: Added command for quick program compilation. This mode skips code optimization, which significantly speeds up the creation of an EX5 executable file. Use this mode during the active development stage, when you need to quickly check the written code. During the final program compilation, turn on the maximum optimization mode for enhanced performance.
MetaEditor: Code management improvements:
- Separate commands have been implemented for jumping to definitions and to declarations. Previously, the menu had one command which opened a selection sub-menu. The new commands enable faster switch to necessary code parts.
- Added substitution of recognized keywords by the “Tab” key, in addition to “Enter”.
MetaEditor: Added ability to automatically display local variables in the debugger watch list. The display can be enabled by the “Local” context menu command. As the debugger operation proceeds through the code, variables from the current scope are automatically displayed in the list.
The update will be available through the Live Update system.