MetaEditor Help

Navigator

Navigator

The "Navigator" window is intended for working with files and folders inside the /MQL4 or /MQL5 directory of the client terminal, where the information that concerns the programming in MetaQuotes Language is stored. One can open or close this window using the "Navigator Navigator" command in the "View" menu, in the "Standard" toolbar or using the "Ctrl+D" key combination.

Outwardly it resembles the explorer where files and folders are shown as a tree-type list:

Navigator

A double click on a folder opens it, and a double click on a file opens it for editing.

Context Menu

The context menu allows to execute the following commands:

Context Menu

Commands

Context Menu of "Navigator" Window

  • Open Open — open the selected file for editing. The same action can be performed by double-clicking with the left mouse button on a file or by pressing the "Enter" key;
  • Open Folder Open Folder — open the selected folder or a folder that contains the selected file;
  • New File New File — start creating a new MQL4/MQL5 program using the "MQL4/MQL5 Wizard";
  • New FolderNew Folder — create a new folder in the current directory. The same action can be performed by pressing the "Insert" key;
  • Rename Rename — rename the selected file or folder. The same action can be performed by pressing the "F2" key;
  • Delete Delete — delete the selected file or folder. The same action can be performed by pressing the "Delete" key;
  • Refresh Refresh — refresh the "Navigator" window. If any folders or files are copied to one of the MQL4 of MQL5 subfolders, the changes will be automatically displayed at the "Navigator" window. Still, one can manually re-read the file structure by executing this command or by pressing the "F5" key;
  • Compile Compilecompile the selected file. Execution of this command for a folder results in compilation of all files located in it.
  • Show All Files Show All Files — show or hide all files. If this option is disabled, only source code files (*.MQ4, *.MQ5, *.MQH, *.CPP and *.H) and text files (*.TXT and *.CSV) will be shown at the "Navigator" window, executable files will be hidden;
  • Activate MQL5 Storage Activate MQL5 Storage — this command allows you to start using your personal storage of source codes MQL5 Storage.
  • Checkout from Storage Checkout from Storagelink a local folder with a storage one of the same name. When executing this command, the contents of the same-name storage folder is downloaded to the local one.
  • Update from Storage Update from Storagereceive the latest data revision from the storage.
  • Commit to Storage Commit to Storagesend the current data changes to the storage.
  • Add File or Folder Add File or Folderadd a local folder or a file to the storage. A folder or a file is added locally. Execute the "Commit to Storage" command to insert the changes to the storage.
  • Delete File or Folder Delete File or Folderdelete a folder or a file from the storage. Deletion is performed locally (a file or a folder is deleted physically). Execute the "Commit to Storage" command to insert the changes to the storage.
  • Difference of Versions Difference of Versionssee the current changes in a file compared to the latest revision received from the storage.
  • Revert Changes Revert Changes — revert the changes made in a local copy of a file.
  • Show Storage Log Show Storage Log — show the storage log.
  • Properties Properties — open the standard dialog of properties of the selected file or folder.

The subfolders of projects created in experts, indicators and scripts directories are also supported. The same structure will be displayed at the "Navigator" window of the client terminal. Files can be moved between folders using "Drag'n'Drop" technology.

External changes made to folders and files (deleting, moving, etc.) are also displayed at the "Navigator" window.