In the menu bar, the following entries are provided.
In the File menu, New, Open, Close, Save, Save As, Revert To Saved, Recent Files, Project, Recent Projects, Project Workspace, Recent Project Workspaces, Close Project Workspace, Session, Recent Session, and Quit are available.
In the Edit menu, Undo, Redo, Cut, Copy, Paste are available. In addition to these standards, a number of options for searching and code formatting are available. In the search, regular expressions may be used.
Find: Opens a Find dialog where you can enter a search term to search in the currently active document.
Find Next: Finds the next entry, search direction down.
Find Previous: Finds the previous entry, search direction up.
Find and Replace: Opens a Find and Replace dialog to search and replace in the currently active document. Enter the old and the new term.
Find In Files...: Opens a Find dialog for files.
Find And Replace In Files...: Opens a Find and Replace dialog for files.
Incremental Find: Opens an independent search bar at the bottom of the MATE screen and starts searching immediately while the term is entered.
Find Selected Text: Searches for the next occurrence of the selected text in the current document. If no text is selected, it uses the text currently under the cursor.
Auto Indent Selection: Arranges the selection according to indentation per level. Alternatively, TAB may be used.
Shift Left Selection: Shifts the selection to the left.
Shift Right Selection: Shifts the selection to the right.
Comment Selection: Comments the selection (available for Python, MDL, and JavaScript).
Uncomment Selection: Uncomments the selection (available for Python, MDL, and JavaScript).
Remove Trailing Spaces: Removes trailing spaces in the currently active document.
Go Back: Jumps to the last cursor position.
Go Forward: Jumps to the next cursor position.
Go To Line...: Opens a dialog to enter a line number in the currently active document to set the cursor to.
Preferences: Opens the preferences for the MATE editor, see Section 27.7, “Preferences”.
In the View menu, select the user interface areas for display: Attached Module toolbar, Outline area, Project Workspace area, Session area, Debug Output area, the search functions Search in Documentation area, Find Results area, Find toolbar, the Python debugging options Stack Frames area, Variables area, Watches area, Evaluate Expression area, Breakpoints area, Debugging toolbar, and the GUI editor options Preview area, Tag Editor area, MDL Controls area, and the Fields area.
In the Window menu, the files in the Edit area can be closed and selected: Close, Close All (you will be asked if you want to save changes).
In the Debug menu, debug options are available, see Section 27.8, “Python Debugger”.
In the Extras menu, the following options are available:
Attached Module: see Section 27.4, “Module Menu”.
Enable GUI Editor: see Section 27.12, “GUI Editor”.
Open File In External Editor: Opens file in the default editor (this may be set in Section 4.3.4, “Preferences — Supportive Programs”).
Open All Files In External Editor: Opens all files in the default editor (this may be set in Section 4.3.4, “Preferences — Supportive Programs”).
Show Enclosing Folder: Opens the folder containing the currently active document and selects the document.
Show Regular Expression Dialog: Shows a dialog where the user can test regular expressions with own sample texts.
Show MATE Scripting Console: Opens the MATE scripting console, see Section 27.13, “Scripting”.
Edit MATE Startup Scripting File: Opens the MATE startup scripting file for editing, see Section 27.13, “Scripting”.
Selected Installer: Contains a submenu for editing and building an installer.
Run Error Check: Runs the currently selected linter on the currently active Python document. Only available if the linter does not run automatically.
Toggle Python Linter:
Toggles the currently used Python linter if multiple linters are installed. The linters PyLint and MyPy are supported.
Reformat Code:
Reformats Python code in the currently active document if Black is installed.
SVN: Contains a submenu with subversion commands that are applied to the currently open file. This requires an SVN command-line executable to be available in the PATH environment variable.
String Tools: Contains a submenu with assorted string manipulation tools. The scope of these operations usually is the selected text.
© 2025 MeVis Medical Solutions AG