Chat Box
Request Box
Main Menu
Editor
Listener & Environment

The Editor is the core workspace of Max Editor Pro, where you write and refine the code for your tools. Its appearance is fully customizable. You can adjust fonts, colors, text sizing, and themes in Settings.

A toolbar above the main text region provides quick access to editor controls:

  • Language Switcher (Top Right): Toggles the editor syntax between Python and MAXScript with a single click. This toggle the environment in which the code is runned.
    Note: It doesn’t translate your code and rename your file into a .ms or .py.

  • Bookmark: Jumps directly to saved bookmarks within your active code.

  • Target: Focuses the view on the line of code most recently modified by an AI request.

  • Magnifying Glass: Opens the Search bar to locate specific text within your code (Shortcut: Ctrl+F).

  • Text Zoom ( / +): Decreases or increases font size across the editor.

The Code Editor View

  • Line Numbers: Located along the left margin of the editor. Click any line number to select that entire line of code.

  • Code Folding: Positioned to the right of the line numbers. Click the fold icons to expand or collapse code blocks (such as functions, classes, and loops).

  • Bookmarks:

    • Adding/Managing: Right-click next to a line number to add a bookmark. Right-clicking an existing bookmark allows you to remove or rename it.

    • Toolbar Navigation: Adding a bookmark activates the Bookmark button in the top toolbar (located after the language switcher). Left-click the toolbar button to cycle sequentially through all bookmarks.

    • Quick Menu: Right-click the toolbar Bookmark button to jump directly to a specific named bookmark or clear all bookmarks at once.

  • Block Comments: Right-click next to a line number or highlight a selection of code and right-click to comment out lines and prevent them from executing.

  • Auto-Save Status Bar: Located beneath the main editor window (when Auto-save is enabled in Settings), this bar displays the filename and timestamp of the most recent auto-save. Click the Folder icon on the far right to open the auto-save directory in File Explorer.

The Listener

The Listener logs background activity, setting updates, and execution errors to help you monitor application behavior. It also includes automated debugging tools powered by AI:

  • Auto-Fix Error: Automatically forwards runtime errors to the AI when executing your full code for the first time, prompting the AI to generate a fix directly.

  • Auto-Run: Automatically executes your updated code as soon as the AI finishes modifying it.

  • Clear: Clears all output text from the Listener window.

  • Copy Last Error: Copies the most recent error log to your clipboard (Ctrl+V to paste).

  • Send Last Error: Submits the most recent error to the AI for troubleshooting. This is ideal for resolving interactive errors that occur while testing your custom tool interface.

  • Text Zoom ( / +): Decreases or increases font size across the Listener log.

Environment

The Environment workspace keeps your project organized by housing all associated files, assets, and images in a unified directory structure.

Automatically generated inside your root folder, the Environment provides quick file access and can be customized in Settings to match your preferred folder layout. Consolidating all project assets within the Environment also simplifies packaging your tool into an .mzp installer for distribution.

Within the Environment tab, you can copy, paste, and drag-and-drop files directly, just as you would in Windows Explorer.