MAXScript Editor Autocomplete

The SCITE editor that the MAXScript editor is built on supports autocomplete, which you can enable for recognized MAXScript. To enable autocomplete, you need an .API file that contains all MAXScript function names, and then set the appropriate autocomplete settings in the user properties file.

To generate an API file:

  1. Download this MAXScript API generator script: createMaxScriptApiFile.ms.
  2. Run the script and confirm that it saved a "maxscript.api" file in the 3ds Max install directory (it should open in the MAXScript Editor).
  3. In the MAXScript editor, select Tools > Open User Options File.
  4. Add these settings to the MXS_EditorUser.properties file, and save it:
    #autocomplete
    autocompleteword.automatic=1
    autocomplete.choose.single=0
    autocomplete.MAXScript.ignorecase=1
    autocomplete.MAXScript.start.characters=$(chars.alpha)$(chars.numeric)_#.
    api.$(file.patterns.MAXScript)=<path_to_api_file>

    Note: set the <path_to_api_file> to the fully qualified filename of the file you saved in the first step.

  5. Open a new script, and confirm that autocomplete is working by typing in part of a function name. You should see a list of matching functions.

For more information about these and other user properties, see MaxScript Editor Properties File Settings.