MetaEditor Help

Hotkeys

Hotkeys are the keys and their combinations that allow to quickly execute different commands without using menus or toolbars. The hotkeys carry out different functions depending on what window of the MetaEditor's interface is currently active. Some hotkeys carry out definite actions regardless of the focus.

Hotkeys in Source Code Editing Window

Hotkeys

Description

Ctrl+Z

Undo the last operation.

Ctrl+Y

Redo the last operation undone.

Ctrl+X

Cut the selected fragment of the source code to paste it further into another place.

Ctrl+C

Copy the selected fragment of the source code to clipboard.

Ctrl+V

Paste the copied or cut fragment of a source code into a selected place.

Delete

Delete the selected fragment of a source code.

Ctrl+A

Select the whole source code in the active window.

Ctrl+F

Open the search window.

F3

Find the next element according to the current search request.

Shift+F3

Find the previous element according to the current search request.

Ctrl+H

Open the window for replacing the searched text by a new one.

Ctrl+F2

Toggle or untoggle a bookmark on the current line of the edited file depending on its current state.

F2

Move to the next bookmark.

Shift+F2

Move to the previous bookmark.

Ctrl+Shift+F2

Clear all bookmarks from the current file.

Ctrl+Space

Show list of possible variants of function names to insert when writing a program code. Variants are defined by first typed symbols.

Ctrl+Shift+Space

Show signature of the current function. So, this command shows order and types of parameters of functions and highlights the currently edited parameter.

F8

Go to the next error or warning that is found in the code during the compilation.

Shift+F8

Go to the previous error or warning that is found in the code during the compilation.

Alt+G

Go to the declaration or definition of the currently selected function or variable.

Alt+M

Open the list of all functions declared in the code of the current program.

Ctrl+'

Insert the "//" comments in the beginning of each selected line.

Ctrl+;

Remove the "//" comments from the beginning of each selected line.

Ctrl+/

Insert symbols of a single-line comment.

Ctrl+.

Insert a ready field for a comment to a function.

Ctrl+,

Start the styler to format the source code of the currently edited file.

Ctrl+digit (0-9)

Set a named bookmark.

Alt+digit (0-9)

Go to a named bookmark.

Ctrl+- or

Alt+Arrow left

Go to previous line where the cursor was placed. One can navigate between currently open files only.

Ctrl+Shit+- or

Alt+Arrow right

Return from the previous line to the next one. One can navigate between currently open files only.

Tab

Insert three spaces (a tab character) at the beginning of selected lines.

Tab+Shift

Remove three spaces (a tab character) from the beginning of selected lines.

Ctrl+Shift+U

Make all the letters of a selected phrase uppercase.

Ctrl+U

Make all the letters of a selected phrase lowercase.

Ctrl+Tab

Switch to the previous open window of source code editing.

Ctrl+Shift+Tab

Switch to the next open window of source code editing.

Hotkeys for debugging

Hotkeys

Description

F5

Start the debugging process for the current code.

Break

Temporarily break the debugging process.

Shift+F5

Stop the debugging process.

F11

Step Into: pass one step of the program execution entering the called functions.

F10

Step Over: pass one step of the program execution without entering the called functions.

Shift+F11

Step Out: go to the execution of a program step one level higher.

F9

Toggle/untoggle a breakpoint in the current line of the edited file depending on its current state.

Shift+F9

Clear all breakpoints in the currently debugged program.

Common Actions in MetaEditor

Hotkeys

Description

Ctrl+N

Open the MQL4/MQL5 Wizard window.

Ctrl+O

Open a file.

Ctrl+S

Save changes in the active window.

Ctrl+F4

Close the active window of the program code editing.

F7

Compile the program code, the window of which is currently active.

Ctrl+F7

Compile all files opened for editing at the moment.

Ctrl+Break

Stop compiling the program code.

Ctrl+P

Open the window of printing of the current file.

Ctrl+Shift+F

Open the window for searching in files.

Ctrl+D

Open/close the "Navigator" window.

Ctrl+T

Open/close the "Toolbox" window.

F4

Open the client terminal window.

F1

Open the MetaEditor userguide.

Ctrl+F1

Search at MQL4.community/MQL5.community.

F12

Enable/disable the full screen mode.

Hotkeys in "Navigator" Window

Hotkeys

Description

Enter

Open the selected file.

Insert

Create a new folder in the current directory.

F2

Rename the selected file or folder.

Delete

Delete the selected file or folder.

F5

Refresh the "Navigator" window.

Hotkeys in "Toolbox" Window

Hotkeys

Description

Enter

Go to a line, an error or the element found by searching in files, view a selected article or MQL4/MQL5 program.

Ctrl+C

Copy the selected error line to the clipboard.

F2

Edit the name of the watched expression at the watching section of the "Debug" tab.

Insert

Add a new expression at the watching section of the "Debug" tab.

Delete

Delete the selected expression at the watching section of the "Debug" tab.

D

Download a selected MQL4/MQL5 program from the "Code Base".

R

Show/hide the categories of articles.

G

Show/hide grid to separate fields.

A

Enable/disable the automatic arrangement of the column size.

S

Enable/disable the automatic scrolling of messages in the "Errors" tab